Jazzman... take my blues away.
- Carole King
aztec.system.BinaryMessageEvent
public class BinaryMessageEvent from<MessageEvent>
Base
Event
MessageEvent
BinaryMessageEvent
The BinaryMessageEvent class provides an event class for binary messages. The Script and Thread classes support binary message events using the SendBinaryMessage() methods. In addition, the MessageClient class supports sending a binary message to a remote Aztec script/application. A binary message consists of a memory buffer of any size, using the class MemoryStream, filled with text or binary data as needed by the script/application. When this class is used with the SendBinaryMessage() methods mentioned earlier in this paragraph, the framework ensures that each instance of an event handler for this message will receive its own separate copy of the binary buffer. This ensures that no recipients of the binary message can modify the contents of the original message, or the contents of any other recipient's message, other than its own.
BinaryMessageEvent Methods
BinaryMessageEvent() |
Constructor for the BinaryMessageEvent class |
Message() |
Returns a reference to the MemoryStream object being sent as a message. |
Derived Classes
None
See Also
Class Hierarchy, Script, Thread, TextMessageEvent, ObjectMessageEvent
BinaryMessageEvent()
public method BinaryMessageEvent()
Parameters
None
Return Value
None
Description
Constructor for the BinaryMessageEvent class.
BinaryMessageEvent Class
Message()
public method<MemoryStream> Message()
Parameters
None
Return Value
Reference to the MemoryStream message object
Description
This method returns the MemoryStream object reference which contains the binary data for the message. The stream object will have its "pointer" set to the begininng of the message data, so the data is ready to read. This message was sent to a Script or a Thread using the SendBinaryMessage() method.
BinaryMessageEvent Class