| java.lang.Object org.cougaar.community.manager.AbstractCommunityManager org.cougaar.community.test.CommunityManagerTestImpl
addCommunity | protected void addCommunity(Community community)(Code) | | Sets community state for testing.
|
addTargets | protected void addTargets(String communityName, Set targets)(Code) | | Add agents to distribution list for community updates.
Parameters: communityName - Parameters: targetName - String |
assertCommunityManagerRole | protected void assertCommunityManagerRole(String communityName)(Code) | | Asserts community manager role.
Parameters: communityName - Community to manage |
distributeUpdates | protected void distributeUpdates(String communityName)(Code) | | Send updated Community info to agents on distribution.
Parameters: String - communityName |
findManager | public void findManager(String communityName, FindCommunityCallback fccb)(Code) | | Get name of community manager.
Parameters: communityName - String Parameters: fmcb - FindManagerCallback String |
isManager | protected boolean isManager(String communityName)(Code) | | Tests whether this agent is the manager for the specified community.
Parameters: communityName - String boolean |
removeCommunity | protected void removeCommunity(String communityName)(Code) | | |
removeTargets | protected void removeTargets(String communityName, Set targets)(Code) | | Remove agents from distribution list for community updates.
Parameters: communityName - Parameters: targetName - String |
reset | protected void reset()(Code) | | |
Methods inherited from org.cougaar.community.manager.AbstractCommunityManager | abstract protected void addTargets(String communityName, Set targets)(Code)(Java Doc) protected void applyAttrMods(Attributes attrs, ModificationItem[] mods)(Code)(Java Doc) abstract protected void assertCommunityManagerRole(String communityName)(Code)(Java Doc) abstract protected void assertCommunityManagerRole(String communityName, Callback callback)(Code)(Java Doc) protected String attrsToString(Attributes attrs)(Code)(Java Doc) abstract protected void distributeUpdates(String communityName)(Code)(Java Doc) protected String entityNames(Collection entities)(Code)(Java Doc) protected synchronized CommunityResponse handleRequest(String source, String communityName, int reqType, Entity entity, ModificationItem[] attrMods)(Code)(Java Doc) abstract protected boolean isManager(String communityName)(Code)(Java Doc) public void manageCommunity(Community community)(Code)(Java Doc) public void manageCommunity(Community community, Callback callback)(Code)(Java Doc) public CommunityResponse processRequest(String source, String communityName, int reqType, Entity entity, ModificationItem[] attrMods)(Code)(Java Doc) abstract protected void removeTargets(String communityName, Set targets)(Code)(Java Doc)
|
|
|