Class BaseMessage
java.lang.Object
com.jbstrap.core.websocket.messages.BaseMessage
- Direct Known Subclasses:
DebugMessage
,FunctionMessage
,LoadJavascriptMessage
,ScriptMessage
- Since:
- 4.0
- Author:
- JBStrap
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionfinal String
Gets the message idfinal MessageType
Gets the message type
-
Constructor Details
-
BaseMessage
Creates a base message objects- Parameters:
messageType
- The message type. For the applicable types, see theMessageType
enum.
-
-
Method Details
-
getMessageType
Gets the message type- Returns:
- The message type
-
getMessageId
Gets the message id- Returns:
- The message id
-