NSMessage
|
Overloaded. Initializes a new instance of the NSMessage class. |
Acknowledgement (inherited from MSNMessage) | Acknowledgement |
Command (inherited from MSNMessage) | The command name. This is always a string composed of 3 characters. |
CommandValues (inherited from MSNMessage) | A list of all values after the initial command string. The values are all stored as strings. After construction this is an empty list. |
InnerBody (inherited from NetworkMessage) | The inner body contents. Null if not present. |
InnerMessage (inherited from NetworkMessage) | The inner message object. Null if not present. |
ParentMessage (inherited from NetworkMessage) | The inner message object. Null if not present. |
TransactionID (inherited from MSNMessage) | The transaction identifier of this message. Only valid when the message is received from the notification server. |
AppendArray (inherited from NetworkMessage) | Helper method. Appends one array to the other. The second parameter, appendingArray, can be null. In that case the original byte array is returned and no copy is made. |
CreateFromMessage (inherited from NetworkMessage) | Creates the networkmessage based on the inner contents of the parent message. It invokes the ParseBytes method to parse the inner body contents of the parent message. |
Equals (inherited from Object) | Determines whether the specified Object is equal to the current Object. |
GetBytes | Returns the NS message as a byte array. This can be directly send over a networkconnection. Remember to set the transaction ID before calling this method. Uses UTF8 Encoding. No MSG commands can be send to the NS, and is therefore not supported by this function. This function will add a \r\n at the end of the string, with the exception of a QRY command. Which does not work with a trailing \r\n. |
GetHashCode (inherited from Object) | Serves as a hash function for a particular type. GetHashCode is suitable for use in hashing algorithms and data structures like a hash table. |
GetType (inherited from Object) | Gets the Type of the current instance. |
ParseBytes (inherited from MSNMessage) | Parses incoming byte data send from the network. This will set the command values and other properties of the class, depending on the message. |
PrepareMessage (inherited from MSNMessage) | Clears the Command and CommandValues when an innermessage is set. So the innermessage can set these properties. |
ToDebugString (inherited from MSNMessage) | |
ToString (inherited from MSNMessage) |
Finalize (inherited from Object) | Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. |
MemberwiseClone (inherited from Object) | Creates a shallow copy of the current Object. |
OnInnerMessageSet (inherited from NetworkMessage) | Called when the innermessage property is set. This sets the ParentMessage property on the inner message object |
OnParentMessageSet (inherited from NetworkMessage) | Called when the parent message is set. This sets the InnerMessage property on the parent message object. |
NSMessage Class | XihSolutions.DotMSN.Core Namespace