Package com.iisigroup.websocket.bean

Examples of com.iisigroup.websocket.bean.NotifyObject


      return;
    }
    for (Reminds remind : reminds) {
      Remind content = reminderService.findRemind(remind.getPid());
      try {
        NotifyObject data = new NotifyObject();
        data.setTargetId(remind.getScopePid());
        data.setStartTime(formatter.reformat(content.getStartDate()));
        data.setEndTime(formatter.reformat(content.getEndDate()));
        data.setContent(content.getContent());

        CapUserDetails userDetail = allPrincipal
            .get(data.getTargetId());
        if (userDetail != null) {
          SocketIOClient client = userDetail.getSocketClient();
          if (client != null) {
            String event = remind.getStyleTyp().equals(
                RemindEnum.TEXT.getCode()) ? "textEvent"
View Full Code Here

TOP

Related Classes of com.iisigroup.websocket.bean.NotifyObject

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.