Table of Contents

Class: HubClient Collaboratory/Hub.py

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

Base Classes   
threading.Thread
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!'

Table of Contents

This document was automatically generated on Wed Mar 26 19:02:06 2003 by HappyDoc version 2.1