Responsible for maintaining information about Communities this node is
member of
Connected to a database. All the data is loaded into the memory at
startup time. Changes are written through directly.
| Method Summary |
| |
__init__(self,
loadFromDatabase)
Initialises the Community Manager |
| |
__str__(self)
Some basic information about the object |
| |
addCommunity(self,
community,
persistent,
storeMemberRelations)
Adds a community instance to the repository |
Community
|
getCommunity(self,
communityId)
Getter |
List of String
|
getCommunityIds(self)
GETTER |
| |
registerCommunityAlgorithmRelation(self,
communityid,
algorithmid)
Passes the request to the database backend. |
| |
registerCommunityAuthorityRelation(self,
communityid,
memberid)
Passes the request to the database backend. |
| |
registerCommunityMemberRelation(self,
communityid,
memberid)
Passes the request to the database backend. |
| |
registerCommunityProtocolRelation(self,
communityid,
protocolid)
Passes the request to the database backend. |
| |
updateCommunity(self,
community,
dropAuthorityRelations,
dropGatewayRelations,
dropMemberRelations,
dropProtocols,
dropAlgorithms)
Updates or inserts the description for one community. |