Package ch.rasc.wampspring.message

Examples of ch.rasc.wampspring.message.UnsubscribeMessage.addHeader()


    // listed topicURI, send them to the AnnotationMethodHandler so he can
    // call any available method that is annotated with
    // @WampUnsubscribeListener
    for (String topicURI : topicURIs) {
      UnsubscribeMessage unsubscribeMessage = new UnsubscribeMessage(topicURI);
      unsubscribeMessage.addHeader(WampMessageHeader.WEBSOCKET_SESSION_ID, sessionId);
      annotationMethodHandler.handleMessage(unsubscribeMessage);
    }
    annotationMethodHandler.unregisterSessionFromAllPrefixCurie(sessionId);
  }
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. 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.