PacketHeader MembersNetworkComms.Net Help
The PacketHeader type exposes the following members.

Public methodPacketHeader
Creates a new packetHeader
Back to Top

Public methodContainsOption(PacketHeaderLongItems)
Check if a long option has been set.
Public methodContainsOption(PacketHeaderStringItems)
Check if a string option has been set.
Public methodDeserialize(Stream)
Deserializes from a OnlineStream to the current IExplicitlySerialize object
Public methodStatic memberDeserialize(Stream, PacketHeader )
Deserializes from a memory stream to a PacketHeader object
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 methodGetOption(PacketHeaderLongItems)
Get a long option.
Public methodGetOption(PacketHeaderStringItems)
Get a string option
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 methodSerialize
Serializes the current IExplicitlySerialize object to the provided OnlineStream
Public methodSetOption(PacketHeaderLongItems, Int64)
Set a long option with the provided value.
Public methodSetOption(PacketHeaderStringItems, String)
Set a string option with the provided value.
Public methodOnlineToString
Returns a string that represents the current object.
(Inherited from OnlineObject.)
Back to Top

Public propertyCheckSumHash
A checksum corresponding to the payload data. If no checksum is set returns null.
Public propertyPacketIdentifier
Optional packet identifier. If no packet identifier is set returns null.
Public propertyPacketSequenceNumber
The sequence number for this packet
Public propertyPacketType
The packet type.
Public propertyRequestedReturnPacketType
The packet type which should be used for any return packet type. If no return packet type is set returns null.
Public propertySourceNetworkIdentifier
The network identifier of the packets source peer. If no source network identifier is set returns null. Also see [!:Connection.ConnectionInfo.NetworkIdentifier].
Public propertyTotalPayloadSize
The total size in bytes of the payload.
Back to Top
See Also