| Home | Trees | Index | Help |
|
|---|
| Package g4ds :: Module communicationmanager_db :: Class CommDB |
|
| Method Summary | |
|---|---|
Initialises the database manager for communication. | |
Adds one endpoint to the endpoint table in the database. | |
Adds one protocol to the protocol table in the database. | |
There is a problem to find the correct endpoint instance for incoming message. | |
List of communicationmanager.Endpoint
|
Provides a list of all endpoints in the database. |
List of communicationmanager.Protocol
|
Provides a list of all protocols in the database. |
Removes credentials from the database. | |
Closes open database connections. | |
| Instance Variable Summary | |
|---|---|
| PSQL-DB-Connection | _connection: Reference to database connection |
| Method Details |
|---|
__init__(self)
|
addEndpoint(self, endpoint)Adds one endpoint to the endpoint table in the database.
|
addProtocol(self, protocol)Adds one protocol to the protocol table in the database.
|
findEndpoint(self, memberid, communityid, protocolname, algorithmname)There is a problem to find the correct endpoint instance for incoming message. This structure solves this problem. All the known information is put togehter, and voila, we have an endpoint id.
|
getEndpoints(self)Provides a list of all endpoints in the database.
|
getProtocols(self)Provides a list of all protocols in the database.
|
removeEndpoints(self, endpointid=None)Removes credentials from the database. Depending on which parameters are given. If no parameter is set, all data in the table will be dropped. |
shutdown(self)Closes open database connections. |
| Instance Variable Details |
|---|
_connectionReference to database connection
|
| Home | Trees | Index | Help |
|
|---|
| Generated by Epydoc 2.0 on Sat Oct 22 22:52:47 2005 | http://epydoc.sf.net |