public interface Gatekeeper
Modifier and Type | Method and Description |
---|---|
boolean |
allowAgentToTakeRole(String agentNetworkID,
String roleName,
Object memberCard) |
boolean allowAgentToTakeRole(String agentNetworkID, String roleName, Object memberCard)
agentNetworkID
- a string identifying uniquely an agent, even over multiple connected kernelsroleName
- the role the agent wants to playmemberCard
- the access card provided by the agenttrue
if the agent should be allowed to play this role in the group, or false
otherwise
associated with this Gatekeeper
Fabien Michel, Olivier Gutknecht, Jacques Ferber