Class BaseMessage

java.lang.Object
com.jbstrap.core.websocket.messages.BaseMessage
Direct Known Subclasses:
DebugMessage, FunctionMessage, LoadJavascriptMessage, ScriptMessage

public class BaseMessage extends Object
Since:
4.0
Author:
JBStrap
  • Constructor Details

    • BaseMessage

      public BaseMessage(MessageType messageType)
      Creates a base message objects
      Parameters:
      messageType - The message type. For the applicable types, see the MessageType enum.
  • Method Details

    • getMessageType

      public final MessageType getMessageType()
      Gets the message type
      Returns:
      The message type
    • getMessageId

      public final String getMessageId()
      Gets the message id
      Returns:
      The message id