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"
: "popUpEvent";
client.sendEvent(event, data);
logger.debug("remind item to user : "
+ remind.getScopePid() + " " + event + " send");
}
}