A default ByteArray message implementation.

C# |
public class DefaultByteArrayMessage : Message

All Members | Constructors | Methods | Properties | ||
Icon | Member | Description |
---|---|---|
![]() | DefaultByteArrayMessage(array<Byte>[]()[][]) | Creates a ByteArray message with the provided attributes, or default attributes if not provided. |
![]() | DefaultByteArrayMessage()()()() | Initializes a new instance of the DefaultByteArrayMessage class |
![]() | ByteArray | Byte Array property. |
![]() | OnDeserialize(InputStream) | Invoked when this Message object needs to be deserialized. (Overrides Message.OnDeserialize(InputStream).) |
![]() | OnSerialize(OutputStream) | Invoked when this Message object needs to be serialized. (Overrides Message.OnSerialize(OutputStream).) |

This represents a default implementation for developers requiring a convenient way to pass binary data between a client and a service without creating their own implementation. This object is not thread safe, therefore the developer is responsible for any synchronization required. This message can be used in applications that have a "cross-platform" implementation. (i.e. client and service may be implemented in different supported languages)
NOTE: If any of the methods of this class are called after the Main(...) method exits, the client or service process may behave in an undefined manner (for example, hang or terminate abnormally).
Platform.Symphony.Soam.Message