Package fr.ippon.tatami.web.atmosphere

Examples of fr.ippon.tatami.web.atmosphere.TatamiNotification


     * Notifies the user with Atmosphere.
     */
    public void notifyUser(String login, AbstractStatus abstractStatus) {
        log.debug("Notifying user: {}", login);
        StatusDTO statusDTO = timelineService.getStatus(abstractStatus.getStatusId());
        TatamiNotification notification = new TatamiNotification();
        notification.setLogin(login);
        notification.setStatusDTO(statusDTO);
        try {
            Broadcaster broadcaster =
                    BroadcasterFactory
                            .getDefault()
                            .lookup("/realtime/statuses/home_timeline/" + login, true);
View Full Code Here

TOP

Related Classes of fr.ippon.tatami.web.atmosphere.TatamiNotification

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.