The HubClient class represents the communication between the
Hub and an individual node. Every incoming node causes the hub
server to spawn a thread which runs an instance of this class. It
connects to the Node's ORB server. Messages that arrive at the
hub from a node are pushed out to nodes through this class
Methods
|
|
__init__
run
|
|
__init__
|
__init__ (
self,
hub_server,
username,
hostname,
id,
orb,
node_ref,
log,
debug,
verbose,
initLock,
)
|
|
run
|
run ( self )
Get the object from the stringified reference to the node
TAKEN OUT## self.node_server = self.orb.string_to_object(self.node_ref)
Exceptions
|
|
'Nil object reference!'
'This is not a "Node_Server" server!'
|
|
|