Package g4ds :: Module g4dsservice :: Class G4dsService
[show private | hide private]
[frames | no frames]

Class G4dsService


That's the one to use from your program
Method Summary
  __init__(self)
Connects to the G4ds Service Listener
  connect(self, serviceId, privateKey, privateKeyLocation, callback)
Connect to the server.
  disconnect(self)
Closes down the connection of this client to the service.
  listen(self)
  sendMessage(self, destinationMember, destinationCommunity, message, actionstring)
  _createAuthenticationToken(self)
We simply use RSA here.
  _decryptSession(self, ciphered)
Decrypts a message with the session key.
  _decryptWithMyPrivateKey(self, message)
  _encryptSession(self, msg)
Encrypts a message with the session key.
  _receiveOne(self)
  _rendevous(self, number)
Authenticates at the server process using the service fifo.
  _sendOne(self, message)

Method Details

__init__(self)
(Constructor)

Connects to the G4ds Service Listener

connect(self, serviceId, privateKey=None, privateKeyLocation=None, callback=None)

Connect to the server.

You have to provide either privateKey or privateKeyLocation

disconnect(self)

Closes down the connection of this client to the service.

_createAuthenticationToken(self)

We simply use RSA here.

_decryptSession(self, ciphered)

Decrypts a message with the session key.

_encryptSession(self, msg)

Encrypts a message with the session key.

_rendevous(self, number)

Authenticates at the server process using the service fifo.

Generated by Epydoc 2.0 on Sat Oct 22 22:52:47 2005 http://epydoc.sf.net