메소드 | 설명 | |
---|---|---|
FromMessage ( IMessage messageToConvert ) : object |
Convert from a NMS Message to a .NET object.
|
|
ToMessage ( object objectToConvert, ISession session ) : IMessage |
Convert a .NET object to a NMS Message using the supplied session to create the message object.
|
메소드 | 설명 | |
---|---|---|
GetTargetType ( ITextMessage message ) : |
Gets the type of the target given the message.
|
|
GetXmlString ( object objectToConvert ) : string |
Gets the XML string for an object
|
|
StringToUTF8ByteArray ( String xmlString ) : Byte[] |
Converts a UTF8 string to a byte array
|
|
UTF8ByteArrayToString ( Byte characters ) : String |
Converts a byte array to a UTF8 string.
|
public FromMessage ( IMessage messageToConvert ) : object | ||
messageToConvert | IMessage | the message to convert |
리턴 | object |
protected GetTargetType ( ITextMessage message ) : |
||
message | ITextMessage | The message. |
리턴 |
protected GetXmlString ( object objectToConvert ) : string | ||
objectToConvert | object | The object to convert. |
리턴 | string |
protected StringToUTF8ByteArray ( String xmlString ) : Byte[] | ||
xmlString | String | The p XML string. |
리턴 | Byte[] |
public ToMessage ( object objectToConvert, ISession session ) : IMessage | ||
objectToConvert | object | the object to convert |
session | ISession | the Session to use for creating a NMS Message |
리턴 | IMessage |
protected UTF8ByteArrayToString ( Byte characters ) : String | ||
characters | Byte | The characters. |
리턴 | String |