class documentation

class IdlePacket(CommandPacket):

Constructor: IdlePacket()

View In Hierarchy

DCC Idle Packet

This requires no parameters to construct so only one is ever needed!

Method __init__ Construct the Idle Packet
Constant TYPE I - Idle Packet
Instance Variable _address Undocumented
Instance Variable _type Undocumented

Inherited from CommandPacket:

Method is_locked Is Locked
Method set_buffer Set buffer contents
Constant BASE_LONG_ADDR DCC long mobile address range base
Constant MAX_LONG_ADDR DCC long address upper limit (inclusive)
Constant MIN_LONG_ADDR DCC long address lower limit (inclusive)
Instance Variable NOT_SENT Return value for command not sent (command being updated)
Instance Variable SENT Return value for command serialised
Instance Variable SENT_POM Return valued for Program on Main second send
Property address Get Address
Property packet_buffer Get the Packet Buffer
Property type Get the command type
Instance Variable _packet_buff Undocumented
def __init__(self):

Construct the Idle Packet

This constructs the Idle Packet. It calls __init__ in the base class. It sets the type and address. The address is the DCC broadcast address.

TYPE: str =

I - Idle Packet

Value
'I'
_address: int =

Undocumented

_type =

Undocumented