Home | Trees | Index | Help |
|
---|
Package g4ds :: Package protocols :: Module protocolinterface :: Class ProtocolInterface |
|
ProtocolImplementation
,
ProtocolImplementation
Method Summary | |
---|---|
Just ot set up the name of the implementation. | |
GETTER | |
Boolean
|
The implementation should listen to a certain port here. |
Boolean
|
The implementation should send the message to the endpoint. |
Boolean
|
The implementation should shut down the listener. |
Instance Variable Summary | |
---|---|
String |
_name : Name of the Implementation |
Method Details |
---|
__init__(self,
name)
Just ot set up the name of the implementation.
|
getName(self)GETTER |
listen(self, callback)The implementation should listen to a certain port here. Parameters for address and the like are not required here since the implementations should load their settings from the config module. Any implementation must run its listener in its own thread, otherwise it will block the entire application / library.
|
sendMessage(self, endpoint, message)The implementation should send the message to the endpoint.
|
shutdown(self)The implementation should shut down the listener.
|
Instance Variable Details |
---|
_nameName of the Implementation
|
Home | Trees | Index | Help |
|
---|
Generated by Epydoc 2.0 on Sat Oct 22 22:52:47 2005 | http://epydoc.sf.net |