Home | Trees | Index | Help |
|
---|
Package g4ds :: Module g4dslistener :: Class ServiceHandler |
|
Method Summary | |
---|---|
Yet empty constructor. | |
Callback function; to be passed to the g4ds module. | |
Listen for messages on the fifo. | |
Serves one cconnected service. | |
_cleanUp(self,
number)
| |
Generates a symmetric session key. | |
Decrypts a message with the session key. | |
Encrypts a message with the session key. | |
_loadPublicKeys(self)
| |
_receiveOne(self)
| |
_sendOne(self,
message)
|
Method Details |
---|
__init__(self)
Yet empty constructor.
|
g4dsCallBack(self, msg, senderid, serviceid)Callback function; to be passed to the g4ds module. Each receiving message for this application will be passed to this function by the g4ds system. |
listen(self)Listen for messages on the fifo. Once, a message arrives, pass it on to the g4ds system. |
serve(self, g4ds, data, number)Serves one cconnected service. |
_createSessionKey(self)Generates a symmetric session key. |
_decryptSession(self, ciphered)Decrypts a message with the session key. |
_encryptSession(self, msg)Encrypts a message with the session key. |
Home | Trees | Index | Help |
|
---|
Generated by Epydoc 2.0 on Sat Oct 22 22:52:46 2005 | http://epydoc.sf.net |