Packet Class |
Namespace: RRAutoLib.Loconet
<SerializableAttribute> Public MustInherit Class Packet Implements ISerializable, ICloneable
The Packet type exposes the following members.
Name | Description | |
---|---|---|
Packet | Initializes a new instance of the Packet class | |
Packet(SerializationInfo, StreamingContext) | Initializes a new instance of the Packet class |
Name | Description | |
---|---|---|
Bytes | Gets the bytes that makes up a Loconet packet message. | |
Description | User friendly description of the packet. | |
ID | Gets the unique identifier of the packet. | |
IsEchoe | Gets value indicating if the packet is an echoe. | |
NeedsPacketResponse | Gets value indicating if this packet expects a response packet. | |
OpCode | Gets the Loconet operation code associated with the packet. | |
ParmsDesc | User friendly description of the most significant packet parameters. | |
PostTxWait | Gets or sets the time in milliseconds to wait after sending this packet before performing the next step. | |
RxPacket | Gets the received response packet post transmit. | |
Tag | Gets or sets an arbitrary object that is associated with the packet. | |
TimeStamp | Gets an event time stamp of the packet's echo or arrival. |
Name | Description | |
---|---|---|
BytesToString | Converts the Bytes into a readable string. | |
Clone | Creates a copy of the packet. | |
GetObjectData | ||
ValidPacketResponse | Gets value indicating if given packet is a valid response for this packet. |
Name | Description | |
---|---|---|
_blnIsEchoe | Exposed through IsEchoe property. | |
_bytaBytes | Exposed through Bytes property. | |
_dblTimeStamp | Exposed through TimeStamp property. | |
_objRxPacket | Exposed through RxPacket property. | |
_objTag | Exposed through Tag property. | |
_sctID | Exposed through ID property. | |
_srtPostTxWait | Exposed through PostTxWait property. |