|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface KAoSAgentHelper
Defines operations to retrieve the KAoSAgentDescription contained by this KAoSAgentHelper, to lookup other agents in KAoS Directory Service, to create TransportMessages and send those messages to other agents.
Method Summary | |
---|---|
void |
checkPermission(java.lang.String action,
java.util.HashMap properties)
Check permission for the specified action with given parameters. |
TransportMessage |
createTransportMessage()
|
KAoSAgentDescription |
findAgentDescriptionForID(java.lang.String agentID)
|
KAoSAgentDescription |
findAgentDescriptionForNickname(java.lang.String nickname)
|
java.lang.String |
getAgentID()
|
KAoSAgentDescription |
getKAoSAgentDescription()
Returns the KAoSAgentDescription created by this helper. |
void |
sendMessage(TransportMessage message)
|
Method Detail |
---|
KAoSAgentDescription getKAoSAgentDescription()
void checkPermission(java.lang.String action, java.util.HashMap properties) throws KAoSSecurityException, java.lang.NullPointerException, ServiceFailure
action
- Ontological name of the policy action.properties
- HashMap containing the names of properties as defined in ontologies and their
values.
KAoSSecurityException
- if the permission is not granted.
java.lang.NullPointerException
- if the specified action or properties are null.
ServiceFailure
- if some of the security services are not available.java.lang.String getAgentID()
KAoSAgentDescription findAgentDescriptionForNickname(java.lang.String nickname)
KAoSAgentDescription findAgentDescriptionForID(java.lang.String agentID)
TransportMessage createTransportMessage()
void sendMessage(TransportMessage message) throws NotLocatableException, TransportFailure
NotLocatableException
TransportFailure
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |