Home | Trees | Index | Help |
|
---|
Package g4ds :: Module communicationmanager :: Class EndpointManager |
|
Method Summary | |
---|---|
Initialises the manager with the subjacent database. | |
Some basic information about the object | |
Add one endpoint to the manager. | |
There is a problem to find the correct endpoint instance for incoming message. | |
Returns the endpoint instance for the given endpoint id. | |
List of Endpoint
|
Returns a list of all saved endpoints. |
List of Endpoint
|
Provides a list of endpoints for a certain member. |
Removes the endpoint with the given id from the manager (and the database if connected). | |
Removes all endpoints from the manager (and database) for the member with the given id. |
Method Details |
---|
__init__(self,
loadFromDatabase=1)
Initialises the manager with the subjacent database.
|
__str__(self)
Some basic information about the object
|
addEndpoint(self, endpoint, persistent=1)Add one endpoint to the manager.
|
findEndpoint(self, memberid, communityid, protocolname, algorithmname)There is a problem to find the correct endpoint instance for incoming message. A function inside the db connector solves this problem. All the known information is put togehter, and voila, we have an endpoint id. |
getEndpoint(self, endpointId)Returns the endpoint instance for the given endpoint id. |
getEndpoints(self)Returns a list of all saved endpoints.
|
getEndpointsForMember(self, memberid, communityid=None, communityNegativeList=[])Provides a list of endpoints for a certain member.
|
removeEndpoint(self, endpointid)Removes the endpoint with the given id from the manager (and the database if connected). |
removeEndpointsForMember(self, memberid)Removes all endpoints from the manager (and database) for the member with the given id. |
Home | Trees | Index | Help |
|
---|
Generated by Epydoc 2.0 on Sat Oct 22 22:52:47 2005 | http://epydoc.sf.net |