Package gofer :: Package rmi :: Module dispatcher :: Class Dispatcher
[hide private]
[frames] | no frames]

Class Dispatcher

source code

The remote invocation dispatcher.

Instance Methods [hide private]
 
__init__(self, classes) source code
 
provides(self, name) source code
any
dispatch(self, envelope)
Dispatch the requested RMI.
source code
Static Methods [hide private]
 
auth(envelope) source code
Instance Variables [hide private]
dict __catalog
The (catalog) of target classes.
Method Details [hide private]

__init__(self, classes)
(Constructor)

source code 
Parameters:
  • classes (list) - The (catalog) of target classes.

dispatch(self, envelope)

source code 

Dispatch the requested RMI.

Parameters:
  • envelope (Envelope) - A request envelope.
Returns: any
The result.