Home | Trees | Indices | Help |
|
---|
|
UserDict.UserDict --+ | Packet
Class to handle an InSim packet. This is a generic Packet handling class which handles all packets, except for ISP_MCI and ISP_NLP, which are handled by _CarTrackPacket.
A Packet is a Python dictionary, and the packet attributes are set and accessed by using the dictionary keys.
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
Inherited from |
|
|||
Inherited from |
|
Init the packet. To create a new Packet to send to InSim, set the packetType. For packets being received from InSim, set the data.
|
Get a refernece to the InSim object which created the packet.
|
Pack the current packet values into a binary string, which can then be sent to InSim.
|
Home | Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0.1 on Thu Jun 18 16:24:07 2009 | http://epydoc.sourceforge.net |