Home | Trees | Indices | Help |
|
---|
|
object --+ | SpoonTransport
The spoon transport base class. This will probably mostly be responsible for handling locking on the transport. It also takes care of removing itself from the transport hub if it is made inactive.
Any reads or writes on the socket should be performed with the SpoonTransport, or otherwise synchronized once this is created.
|
|||
| __get_active(self) | ||
|
__init__(self,
t,
network=None) Creates a spoon transport link out of an existing socket and joins it to a network. |
||
|
__repr__(self) repr(x) |
||
| __set_active(self, newval) | ||
| close(self) | ||
|
fileno(self) Returns the fileno for use in a select or poll call if one exists for the socket or file wrapped by this SpoonTransport. |
||
|
getAuthedNodeId(self) override this if your class does any pre authentication. |
||
| getNetwork(self) | ||
| read(self) | ||
|
start(self) Starts the spoon protocol on the socket. |
||
| write(self, obj) | ||
Inherited from |
|
|||
|
active Indicates if the transport is currently active. |
||
|
sock The raw socket or file object that the transport is bound to |
||
|
spoon The SpoonStream wrapper around the socket. |
|
|||
Inherited from |
|
|
|
|
|
|
|
|
|
|
|
|
|
activeIndicates if the transport is currently active. |
sockThe raw socket or file object that the transport is bound to |
spoonThe SpoonStream wrapper around the socket. |
Home | Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0alpha3 on Mon Nov 27 18:56:25 2006 | http://epydoc.sourceforge.net |