Home | Trees | Index | Help |
---|
Package spoon :: Package transports :: Class TransportHub |
|
object
--+
|
TransportHub
Method Summary | |
---|---|
Must be called after a transport is initialized to initiate the spoonRPC protocol. (Static method) | |
Must be called after a transport has been made inactive. (Static method) | |
Sets a logger object for SpoonRPC to use. (Static method) | |
Inherited from object | |
x.__init__(...) initializes x; see x.__class__.__doc__ for signature | |
x.__delattr__('name') <==> del x.name | |
x.__getattribute__('name') <==> x.name | |
x.__hash__() <==> hash(x) | |
T.__new__(S, ...) -> a new object with type S, a subtype of T | |
helper for pickle | |
helper for pickle | |
x.__repr__() <==> repr(x) | |
x.__setattr__('name', value) <==> x.name = value | |
x.__str__() <==> str(x) |
Class Variable Summary | |
---|---|
NullLogger |
_log = <spoon.NullLogger.NullLogger object at 0xa7bbd84c...
|
list |
activeTransports : A simple list of the transports that are currently active |
dict |
links : A dict, keys are the node id of the directly connected neighbor and
the values are the associated transport |
int | nodeId : The local node id. |
Static Method Details |
---|
addTransport(t)Must be called after a transport is initialized to initiate the spoonRPC protocol.
|
removeTransport(t)Must be called after a transport has been made inactive. |
setLogger(logger)Sets a logger object for SpoonRPC to use. This can be a python logger object, or just anything that supports that general protocol. It defaults to NullLogger which does nothing with the messages. |
Class Variable Details |
---|
_log
|
activeTransportsA simple list of the transports that are currently active
|
linksA dict, keys are the node id of the directly connected neighbor and the values are the associated transport
|
Home | Trees | Index | Help |
---|
Generated by Epydoc 2.1 on Sun Nov 26 15:32:15 2006 | http://epydoc.sf.net |