Package com.github.ghetolay.jwamp.message.output

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


  }
 
  public String call(String procId, ResultListener<WampCallResultMessage> listener, long timeout, Object... args) throws IOException, SerializationException{
    String callId = generateCallId();
   
    OutputWampCallMessage msg = new OutputWampCallMessage();
    msg.setProcId(procId);
    msg.setCallId(callId);
   
    if(args.length > 0){
      if(args.length == 1)
        msg.setArgument(args[0]);
      else
        msg.setArgument(args);
    }
     
    conn.sendMessage(msg);
     
    if(listener != null)
View Full Code Here

TOP

Related Classes of com.github.ghetolay.jwamp.message.output.OutputWampCallMessage

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.