Package SPyRO :: Module SPyRO :: Class CommunicationServerBase
[show private | hide private]
[frames | no frames]

Class CommunicationServerBase

Known Subclasses:
CommunicationServer, CommunicationServerShared

The base of spyro's communication servers
Method Summary
  __init__(self, address, location, priorities, defaultFormat, transportProtocol, objectpool)
|address| The address where the Server is listening |location| Location or path in the web server |priorities| Priorities of the protocols |defaultFormat| The default message format where none is specified |transportProtocol| The class to manage the transport layer |objectpool| The object pool manager , if None then a new SeverObjectPool instance is used
  __getstate__(self)
To pickle functions
  __setitem__(self, k, v)
Register an object.
  close(self)
Close server
  delconn(self, conn)
Removes a client connection
  regconn(self, conn)
Register a client connection
  set(self, k, v)
Register an object |v| with the ID |k|.

Method Details

__init__(self, address, location, priorities, defaultFormat, transportProtocol, objectpool)
(Constructor)

|address| The address where the Server is listening |location| Location or path in the web server |priorities| Priorities of the protocols |defaultFormat| The default message format where none is specified |transportProtocol| The class to manage the transport layer |objectpool| The object pool manager , if None then a new SeverObjectPool instance is used

__getstate__(self)

To pickle functions

__setitem__(self, k, v)
(Index assignment operator)

Register an object.

close(self)

Close server

delconn(self, conn)

Removes a client connection

regconn(self, conn)

Register a client connection

set(self, k, v)

Register an object |v| with the ID |k|. Use |setobj| instead

Generated by Epydoc 2.1 on Sat Oct 14 11:50:52 2006 http://epydoc.sf.net