Main Page | Class Hierarchy | Class List | File List | Class Members

Common::Message Class Reference

Inheritance diagram for Common::Message:

List of all members.

Public Member Functions

 Message ()
 Message (MessageType type)
byte[] ToByteArray ()


abstract byte[] RawData
MessageType type
ushort destination
ushort source
MessageType Type
ushort Destination
bool isLowPriority = false

Detailed Description

<summary> An abstract class representing a generic message object </summary>

Definition at line 10 of file Common/Message.cs.

Constructor & Destructor Documentation

Common::Message::Message  )  [inline]

<summary> Creates a new message object </summary>

Definition at line 54 of file Common/Message.cs.

Common::Message::Message MessageType  type  )  [inline]

<summary> Creates a new Message object with an associated message type </summary> <param name="type">The message type of the new message object</param>

Definition at line 60 of file Common/Message.cs.

Member Function Documentation

byte [] Common::Message::ToByteArray  )  [inline]

Methods *

Definition at line 65 of file Common/Message.cs.

Property Documentation

ushort Common::Message::destination [protected]

<summary> Destination of the message </summary>

Definition at line 26 of file Common/Message.cs.

abstract byte [] Common::Message::RawData [get]

<summary> Gets byte array representation of message *data* (NOT of tag + data). </summary> <returns>binary reprsentation of message</returns>

Definition at line 15 of file Common/Message.cs.

ushort Common::Message::source

<summary> Which device ID the message came from. This field is not serialised. </summary>

Definition at line 32 of file Common/Message.cs.

Referenced by ProtocolStack::OutgoingMessageQueue::DemuxToTransmissionQueues().

MessageType Common::Message::Type [get, set]

<summary> Property for getting and setting the type of the message </summary>

Definition at line 38 of file Common/Message.cs.

Referenced by Client::HTTPResponseHandler::Handle().

MessageType Common::Message::type [protected]

<summary> The type of message (defined by an enumeration) </summary>

Definition at line 22 of file Common/Message.cs.

The documentation for this class was generated from the following file:
Generated on Mon May 8 22:07:27 2006 by  doxygen