new VulcanMessage(type, appId, appVersion)
Parameters:
Name | Type | Description |
---|---|---|
type |
The message type. |
|
appId |
The peer appId. |
|
appVersion |
The peer appVersion. |
Methods
-
getPayload()
-
Retrieves the message payload of this message.
Returns:
A string containing the message payload.
-
initialize(message)
-
Initializes this message instance.
Parameters:
Name Type Description message
A \c message instance to use for initialization.
-
setPayload(payload)
-
Sets the message payload of this message.
Parameters:
Name Type Description payload
A string containing the message payload.
-
toString()
-
Converts the properties of this instance to a string.
Returns:
The string version of this instance.
-
xmlData()
-
Retrieves the message data.
Returns:
A data string in XML format.