HappyDoc Generated Documentation Class: Hub

. / Collaboratory / Hub.py / Hub 

This class starts the CORBA ORB services required to run the Hub, then enters the ORB mainloop to handle requests

Methods   
  checkResponse 
checkResponse (
        self,
        res,
        timer,
        )
  quit 
quit ( self )
  addMessageToQueue 
addMessageToQueue ( self,  msg )

centralized function for logging messages

  Mainloop 
Mainloop ( self )
  StartORB 
StartORB ( self )
Exceptions   

BADNS

  setNamingService 
setNamingService ( self,  ns )
  killParticipant 
killParticipant (
        self,
        name=None,
        id=None,
        )

this function will disconnect a specific user from the Collaboratory session. The input is either the id or name of a certain collaboratory participant. It tries to do this nicely, by calling the node_server's killMe() function, which asks the Node to shut down. If this can not be done, because the Node has gone down, it catches a COMM_FAILURE or TRANSIENT error, and returns false. Else, it returns True.

  __call__ 
__call__ ( self )
  getMessageFromQueue 
getMessageFromQueue ( self )
  RegisterName 
RegisterName ( self )

create a context path in the Naming service for the Collaboratory only really needs to be done the first time the naming service is started

  __init__ 
__init__ (
        self,
        naming_service=None,
        naming_id=None,
        debug=0,
        verbose=0,
        msg_queue=None,
        )

This document was automatically generated Thu Feb 02 15:18:29 2006 by HappyDoc version 3.0.a1