Class Message

java.lang.Object
com.axemble.vdoc.sdk.messages.Message
All Implemented Interfaces:
IMessage, Serializable

public class Message extends Object implements IMessage
Author:
vlygeros
See Also:
  • Constructor Details

    • Message

      public Message(String recipient, int eventType, Object body)
  • Method Details

    • getRecipient

      public final String getRecipient()
      Specified by:
      getRecipient in interface IMessage
      Returns:
      The recipient name for the message.
    • getBody

      public final Object getBody()
      Specified by:
      getBody in interface IMessage
      Returns:
      The body of the message.
    • getEventType

      public final int getEventType()
      Specified by:
      getEventType in interface IMessage
      Returns:
      The custom event type value.