The Packet type exposes the following members.
Back to Top
Back to Top
Back to Top
Constructors
| Name | Description | |
|---|---|---|
| Packet(String, Object, SendReceiveOptions) |
Create a new packet
| |
| Packet(String, String, Object, SendReceiveOptions) |
Create a new packet
|
Methods
| Name | Description | |
|---|---|---|
| Deserialize(Stream) | ||
| Deserialize(Stream, Packet ) |
Deserializes from a memory stream to a Packet object
| |
| Dispose | Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. | |
| (Inherited from | ||
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from | ||
Serves as a hash function for a particular type. (Inherited from | ||
Gets the (Inherited from | ||
Creates a shallow copy of the current (Inherited from | ||
| SerialiseHeader |
Returns the serialised bytes of the packet header appended by the serialised header size. This is required to
rebuild the header on receive.
| |
| Serialize | ||
Returns a string that represents the current object. (Inherited from |
Properties
| Name | Description | |
|---|---|---|
| PacketData |
The payload data stream
| |
| PacketHeader |
The packet header for this packet
|
See Also