Packet MembersNetworkComms.Net Help
The Packet type exposes the following members.
Constructors

  NameDescription
Public methodPacket(String, Object, SendReceiveOptions)
Create a new packet
Public methodPacket(String, String, Object, SendReceiveOptions)
Create a new packet
Back to Top
Methods

  NameDescription
Public methodDeserialize(Stream)
Deserializes from a OnlineStream to the current IExplicitlySerialize object
Public methodStatic memberDeserialize(Stream, Packet )
Deserializes from a memory stream to a Packet object
Public methodDispose
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
Public methodOnlineEquals
Determines whether the specified OnlineObject is equal to the current OnlineObject.
(Inherited from OnlineObject.)
Protected methodOnlineFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from OnlineObject.)
Public methodOnlineGetHashCode
Serves as a hash function for a particular type.
(Inherited from OnlineObject.)
Public methodOnlineGetType
Gets the OnlineType of the current instance.
(Inherited from OnlineObject.)
Protected methodOnlineMemberwiseClone
Creates a shallow copy of the current OnlineObject.
(Inherited from OnlineObject.)
Public methodSerialiseHeader
Returns the serialised bytes of the packet header appended by the serialised header size. This is required to rebuild the header on receive.
Public methodSerialize
Serializes the current IExplicitlySerialize object to the provided OnlineStream
Public methodOnlineToString
Returns a string that represents the current object.
(Inherited from OnlineObject.)
Back to Top
Properties

  NameDescription
Public propertyPacketData
The payload data stream
Public propertyPacketHeader
The packet header for this packet
Back to Top
See Also