The Packet type exposes the following members.

Constructors

  Name Description
Protected method Packet()()()()
Initializes a new instance of the Packet class
Protected method Packet(SerializationInfo, StreamingContext)
Initializes a new instance of the Packet class

Methods

  Name Description
Public method BytesToString
Converts the Bytes into a readable string.
Public method Clone
Creates a copy of the packet.
Public method Equals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Protected method Finalize
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.)
Public method GetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Protected method GetObjectData
Public method GetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected method MemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public method ToString
Returns a String that represents the current Object.
(Inherited from Object.)
Public method ValidPacketResponse
Gets value indicating if given packet is a valid response for this packet.

Fields

  Name Description
Protected field _blnIsEchoe
Exposed through IsEchoe property.
Protected field _bytaBytes
Exposed through Bytes property.
Protected field _dblTimeStamp
Exposed through TimeStamp property.
Protected field _delCallBackOnEcho
Exposed through CallBackOnEcho property.
Protected field _delCallBackOnResponse
Exposed through CallBackOnResponse property.
Protected field _objTag
Exposed through Tag property.
Protected field _sctID
Exposed through ID property.
Protected field _sctReqID
Exposed through ReqID property.

Properties

  Name Description
Public property Bytes
Gets the bytes that makes up a Loconet packet message.
Public property CallBackOnEcho
Gets or sets callback parameters to invoke upon successfull packet transmission.
Public property CallBackOnResponse
Gets or sets callback parameters to invoke upon receipt of the response packet.
Public property Description
Gets a user friendly description of the packet.
Public property ID
Gets the unique identifier of the packet.
Public property IsEchoe
Gets value indicating if the packet is an echoe.
Public property NeedsPacketResponse
Gets value indicating if this packet expects a response packet.
Public property OpCode
Gets the Loconet operation code associated with the packet.
Public property ParmsDesc
Gets a user friendly parameter description of the packet.
Public property ReqID
Gets the unique identifier of the requesting packet.
Public property Tag
Gets or sets an arbitrary object that is associated with the packet.
Public property TimeStamp
Gets an event time stamp of the packet's echo or arrival.

See Also