Home | Trees | Indices | Help |
|
---|
|
Class to manage an InSim connection with LFS.
|
|||
|
|||
string |
|
||
|
|||
|
|||
number |
|
||
boolean |
|
||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
boolean |
|
||
|
|
Initialise the InSim object.
|
Get the name of the InSim connection.
|
Set the name of the InSim connection.
|
Set the UDP timeout.
|
Get the UDP timeout.
|
Get if the socket is connected.
|
Connect to InSim on the specified host and port. Known Issues: In UDP mode no exception is raised if the connection to InSim fails, but instead an EVT_ERROR is raised after the first packet is sent.
|
Close the InSim connection. Sends a TINY_CLOSE before releasing the socket. |
Send a packet to InSim. >>> # Example. >>> InSim.send(ISP_ISI, ReqI=1, Admin='password', IName='example')
|
Send raw binary data to InSim.
|
Send one or more packets to InSim.
|
Virtual method called when a packet is received. Handles the keep alive pulse and raises packet events.
|
Virtual method called when an InSim event is raised.
|
Bind a packet callback event-handler.
|
Unbind a packet callback event-handler.
|
Get if a specific event-handler has been bound.,
|
Raise a packet event as if the packet was received through InSim. Useful for testing and debugging.
|
Home | Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0.1 on Thu Nov 05 11:42:42 2009 | http://epydoc.sourceforge.net |