Class InvocationMessage

java.lang.Object
ch.rasc.wamp2spring.message.WampMessage
ch.rasc.wamp2spring.message.InvocationMessage
All Implemented Interfaces:
org.springframework.messaging.Message<Object>

public class InvocationMessage extends WampMessage
[INVOCATION, Request|id, REGISTERED.Registration|id, Details|dict] [INVOCATION, Request|id, REGISTERED.Registration|id, Details|dict, CALL.Arguments|list] [INVOCATION, Request|id, REGISTERED.Registration|id, Details|dict, CALL.Arguments|list, CALL.ArgumentsKw|dict]
  • Field Details

  • Constructor Details

    • InvocationMessage

      public InvocationMessage(long requestId, long registrationId, @Nullable Number caller, @Nullable List<Object> arguments, @Nullable Map<String,Object> argumentsKw)
    • InvocationMessage

      public InvocationMessage(Procedure procedure, CallMessage callMessage)
  • Method Details

    • deserialize

      public static InvocationMessage deserialize(com.fasterxml.jackson.core.JsonParser jp) throws IOException
      Throws:
      IOException
    • serialize

      public void serialize(com.fasterxml.jackson.core.JsonGenerator generator) throws IOException
      Specified by:
      serialize in class WampMessage
      Throws:
      IOException
    • getRequestId

      public long getRequestId()
    • getRegistrationId

      public long getRegistrationId()
    • getArguments

      @Nullable public List<Object> getArguments()
    • getArgumentsKw

      @Nullable public Map<String,Object> getArgumentsKw()
    • getCaller

      @Nullable public Number getCaller()
    • toString

      public String toString()
      Overrides:
      toString in class Object