Table of Contents

Class: CollaboratoryGUI Collaboratory/Node.py

Node GUI class that runs within the Chimera Tk context (event-driven). The GUI allows the user to select a naming service, then connect to a hub registered with the naming service. Just before connecting, the GUI spawns a new thread "node server" which starts a CORBA ORB, waiting for a "back-connection" from the Hub which occurs as soon as the node connects to the hub. After the connection, the GUI spawns a "client thread" which handles all the node->thread CORBA method invocations (message-passing). The "node server" thread handles thread->node invocations (message-passing)

Methods   
ConnectToHub
CreateGUI1
CreateGUI2
EarlyQuit
FindHub
FindNameService
NameserverListSet
PushObject
Quit
RefreshNameService
SelectHub
SetupQueues
StartChimeraInteractor
StartClientThread
StartNode
StartORB
StartPOA
StartServer
Terminate
ToggleChat
TogglePointer
__init__
dblclick
hideEvents
sendImmediately
setStatusMsg
showEvents
start
  ConnectToHub 
ConnectToHub ( self )

  CreateGUI1 
CreateGUI1 ( self )

  CreateGUI2 
CreateGUI2 ( self )

  EarlyQuit 
EarlyQuit ( self,  event=None )

  FindHub 
FindHub ( self )

Exceptions   
'Nil object reference!'
  FindNameService 
FindNameService ( self )

  NameserverListSet 
NameserverListSet ( self,  event=None )

This will break if there are more than 1000 hubs an unlikely case, but to be "perfect" we could use a binding iterator and grab all the entries piecemeal

  PushObject 
PushObject ( self,  message )

Put an object on the outgoing queue

  Quit 
Quit ( self,  event=None )

  RefreshNameService 
RefreshNameService ( self,  event=None )

  SelectHub 
SelectHub ( self,  event=None )

  SetupQueues 
SetupQueues ( self )

  StartChimeraInteractor 
StartChimeraInteractor ( self,  update )

  StartClientThread 
StartClientThread ( self )

  StartNode 
StartNode ( self,  event=None )

  StartORB 
StartORB ( self,  event=None )

  StartPOA 
StartPOA ( self )

  StartServer 
StartServer ( self )

  Terminate 
Terminate ( self,  event=None )

Kill the server

  ToggleChat 
ToggleChat ( self )

  TogglePointer 
TogglePointer ( self )

  __init__ 
__init__ ( self,  stopnode )

  dblclick 
dblclick ( self,  event=None )

  hideEvents 
hideEvents (
        self,
        trigger,
        ignore,
        data,
        )

  sendImmediately 
sendImmediately ( self,  msg )

  setStatusMsg 
setStatusMsg (
        self,
        msg,
        color='black',
        )

  showEvents 
showEvents (
        self,
        trigger,
        ignore,
        data,
        )

  start 
start ( self )


Table of Contents

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