Examples of OutputWampUnsubscribeMessage


Examples of com.github.ghetolay.jwamp.message.output.OutputWampUnsubscribeMessage

  }

  public void unsubscribe(String topicId) throws IOException {
    if(topics.contains(topicId)){
      try {
        conn.sendMessage(new OutputWampUnsubscribeMessage(topicId));
      } catch (SerializationException e) {
        log.error("Serialization error on unsubscribe message");
      }

      topics.remove(topicId);
View Full Code Here

Examples of com.github.ghetolay.jwamp.message.output.OutputWampUnsubscribeMessage

  }

  public void unsubscribeAll() throws IOException{
    for(Iterator<SubSet> it = topics.iterator(); it.hasNext();){
      try {
        conn.sendMessage(new OutputWampUnsubscribeMessage( it.next().sub.getTopicId() ));
      } catch (SerializationException e) {
        log.error("Serialization error on unsubscribe message");
      }
      it.remove();
    }
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.