Home | Trees | Index | Help |
|
---|
Package g4ds :: Module communitymanager :: Class Community |
|
Method Summary | |
---|---|
Initialises a Community instance | |
Some basic information about the object | |
Adds a algorithm to the community. | |
Adds the authority role for the given member to this community. | |
Add a community gateway to this community. | |
Add a member to this community. | |
Adds a protocol to the community. | |
List of String
|
Returns the list of algorithms for this community. |
List of String
|
GETTER |
GETTER | |
CommunityGateway
|
GETTER |
GETTER | |
List of String
|
GETTER |
GETTER | |
List of String
|
Returns the list of protocols for this community. |
CommunityGateway
|
GETTER |
GETTER | |
GETTER | |
GETTER | |
Boolean
|
Checks, whether the community has a member with the given id subscribed to it. |
Instance Variable Summary | |
---|---|
List of String |
_algorithms : List of algorithms, this community supports |
List of String |
_authorities : List of Community Authorities for this TC (their ids) |
String |
_description : Community Description |
List of CommunityGateway |
_destinationGateways : List of incoming gateways |
String |
_id : Unique ID for the Community |
List of String |
_members : List of Members of this community (their ids) |
String |
_name : Name of the Community |
List of String |
_protocols : List of protocols, this community supports |
List of CommunityGateway |
_sourceGateways : List of outgoing gateways |
String |
_tcdl : Community Description in XML format |
String |
_tcdldate : Date of the current version of the XML Community Description |
String |
_tcdlversion : Version of the current XML Community Description |
Method Details |
---|
__init__(self,
id=None,
name=None,
description=None,
tcdl=None,
tcdlversion=None,
tcdldate=None)
|
__str__(self)
Some basic information about the object
|
addAlgorithm(self, algorithmid, loading=0)Adds a algorithm to the community.
|
addAuthority(self, authority_memberId, loading=0, registerInMember=0)Adds the authority role for the given member to this community.
|
addGateway(self, gateway)Add a community gateway to this community. It will determine itself, whether it is the source or the destination for the gateway.
|
addMember(self, memberId, isAuthority=0, registerInMember=0, loading=0)Add a member to this community. This function invokes a function in the db backend process for updating the table for the relation between members and communities.
|
addProtocol(self, protocolid, loading=0)Adds a protocol to the community.
|
getAlgorithms(self)Returns the list of algorithms for this community.
|
getAuthorities(self)GETTER Provides the list of community authorities for this community.
|
getDescription(self)GETTER
|
getDestinationGateways(self)GETTER Provides all the gateways, this community may receive through.
|
getId(self)GETTER
|
getMembers(self)GETTER Provides the list of members of this community.
|
getName(self)GETTER
|
getProtocols(self)Returns the list of protocols for this community.
|
getSourceGateways(self)GETTER Provides all the gateways, this community may send through.
|
getTcdl(self)GETTER
|
getTcdlDate(self)GETTER
|
getTcdlVersion(self)GETTER
|
hasMember(self, memberid)Checks, whether the community has a member with the given id subscribed to it.
|
Instance Variable Details |
---|
_algorithmsList of algorithms, this community supports
|
_authoritiesList of Community Authorities for this TC (their ids)
|
_descriptionCommunity Description
|
_destinationGatewaysList of incoming gateways
|
_idUnique ID for the Community
|
_membersList of Members of this community (their ids)
|
_nameName of the Community
|
_protocolsList of protocols, this community supports
|
_sourceGatewaysList of outgoing gateways
|
_tcdlCommunity Description in XML format
|
_tcdldateDate of the current version of the XML Community Description
|
_tcdlversionVersion of the current XML Community Description
|
Home | Trees | Index | Help |
|
---|
Generated by Epydoc 2.0 on Sat Oct 22 22:52:47 2005 | http://epydoc.sf.net |