Trees | Index | Help |
|
---|
Module spiroserver |
|
Implements the server side of SPIRO
Run with -h or --help to see options
By default, this script executes under jythonClasses | |
---|---|
SpiroCallbackFactory |
Creates callable proxy objects which send callback messages to the client, and await/return the results |
SpiroInterpreter |
For each client connection, we maintain a private namespace within an InteractiveInterpreter. |
SpiroLogger |
Provides normal and exception logging routines |
SpiroServer |
Server side of SPIRO |
SpiroSession |
Manages a single client session, over a TCP socket connection from the client. |
SpiroUnpickler |
A butchered unpickler which facilitates the passing of object refs between server and client. |
Exceptions | |
---|---|
ClientError |
Function Summary | |
---|---|
log(level,
msg,
nPrev)
| |
logException(level,
msg)
| |
Creates and runs a Spiro server | |
myimport(name)
| |
Returns a callable which, when invoked, calls 'repr' on obj | |
Returns a callable which, when invoked, calls 'str' on obj | |
usage(detailed)
|
Variable Summary | |
---|---|
int |
defaultLogDelay = 0 |
_DevNull |
defaultLogfile = <epydoc.imports._DevNull instance at 0x...
|
int |
defaultLogVerbosity = 5 |
str |
host = '127.0.0.1'
|
int |
port = 9091 |
Function Details |
---|
main(argv=None)Creates and runs a Spiro server Arguments:
|
reprfuncFactory(obj)Returns a callable which, when invoked, calls 'repr' on obj |
strfuncFactory(obj)Returns a callable which, when invoked, calls 'str' on obj |
Variable Details |
---|
defaultLogDelay
|
defaultLogfile
|
defaultLogVerbosity
|
host
|
port
|
Trees | Index | Help |
|
---|
Generated by Epydoc 2.0 on Sun Apr 11 13:37:10 2004 | http://epydoc.sf.net |