Public Member Functions | |
Message (MessageType type, ushort destination, MessagePriority priority) | |
Message (MessageType type, ushort destination) | |
abstract MemoryStream | SerialiseData () |
abstract void | DeserialiseData (Stream serialisedDataStream) |
Static Public Member Functions | |
MemoryStream | SerialiseMessage (Message msg) |
Message | DeserialiseMessage (Stream serialisedMessageStream) |
Properties | |
MessageType | Type |
MessageType | type |
ushort | Destination |
ushort | Source |
MessagePriority | Priority |
Definition at line 9 of file SmartDeviceGUIClient/Message.cs.
|
<summary> Creates a new message of specified type, with given destination and given priority </summary> <param name="type"></param> Definition at line 15 of file SmartDeviceGUIClient/Message.cs. |
|
<summary> Creates a new message of specified type and destination, with normal priority </summary> <param name="type"></param> <param name="destination"></param> Definition at line 26 of file SmartDeviceGUIClient/Message.cs. |
|
<summary> Converts a serialised bytes into message </summary> <param name="serialisedMessage"></param> |
|
<summary> Converts message into serialised bytes for transport </summary> <returns>Memory stream representing serialised data, at end of stream.</returns> |
|
<summary> Destination device ID of the message </summary> Definition at line 40 of file SmartDeviceGUIClient/Message.cs. |
|
<summary> Priority of message to be sent. </summary> Definition at line 58 of file SmartDeviceGUIClient/Message.cs. |
|
<summary> The device ID the message comes from </summary> Definition at line 49 of file SmartDeviceGUIClient/Message.cs. |
|
<summary> Property for getting and setting the type of the message (retrans, http, etc) </summary> Definition at line 31 of file SmartDeviceGUIClient/Message.cs. |