public static cMessage FromString(SalString message) public static bool FromString(SalString message, out IDictionary<string, string> dictionary) public static bool FromString(SalString message, out string name, out IDictionary<string, string> dictionary) public static bool FromString(SalString message, out IList<KeyValuePair<string, string>> list) public static bool FromString(SalString message, out string name, out IList<KeyValuePair<string, string>> list)
Returns a new cMessage instance, unpacked from the provided string message.
Name | Description |
---|---|
SalString message | Packed message, in string format |
string name | The message name |
IDictionary<string, string> dictionary | IDictionary enumerating the attributes and their coresponding value |
IList<KeyValuePair<string, string>> list | IList with KeyValuePairs enumerating the attributes and their coresponding value |
Unpacked cMessage if successfull. NULL otherwise or...
TRUE is the message was a packed cMessage, FALSE otherwise.