|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object GridAgentHelper edu.uwf.kaos.coabsgrid.KAoSGridHelper
public class KAoSGridHelper
Enforces domain policies. $Revision: 1.33 $
Constructor Summary | |
---|---|
KAoSGridHelper()
|
|
KAoSGridHelper(java.lang.String agentName)
KAoS stuff not complete yet in this method! Constructor. |
|
KAoSGridHelper(java.lang.String name,
java.lang.String storePass,
java.lang.String keyPass)
|
Method Summary | |
---|---|
boolean |
filterMessage(AgentRep senderOrReceiverAgentRep,
Message msg)
Filter incoming and outgoing messages. |
java.util.Vector |
getControlledActionClasses()
Get names of the action classes on which policies can be enforced. |
boolean |
getGuard(java.util.Vector domainNames)
Obtain the Guard. |
protected void |
printDebugString(java.lang.String msg)
Print debug messages. |
void |
registerAgent(KAoSAgentDescription desc)
|
void |
setAgentID(java.lang.String id)
Set the id of the agent this KAoSGridHelper is associated with. |
void |
setRegistrationHelper(KAoSAgentRegistrationHelper regHelper)
Set the KAoSAgentRegistrationHelper this KAoSGridHelper is associated with. |
void |
testPolicies()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface kaos.policy.enforcement.Enforcer |
---|
getName |
Constructor Detail |
---|
public KAoSGridHelper() throws java.io.IOException
java.io.IOException
public KAoSGridHelper(java.lang.String name, java.lang.String storePass, java.lang.String keyPass) throws java.io.IOException
java.io.IOException
public KAoSGridHelper(java.lang.String agentName) throws java.io.IOException, java.lang.ClassNotFoundException
agentName
- the name of the GridAgentHelper to instantiate
java.io.IOException
- if there is a problem instantiating the
LookupDiscoveryManager
java.lang.ClassNotFoundException
Method Detail |
---|
public java.util.Vector getControlledActionClasses()
getControlledActionClasses
in interface Enforcer
public boolean filterMessage(AgentRep senderOrReceiverAgentRep, Message msg)
public void setAgentID(java.lang.String id)
public boolean getGuard(java.util.Vector domainNames)
public void registerAgent(KAoSAgentDescription desc) throws AlreadyRegisteredException, DirectoryFailure, EnforcerInstantiationException, UnknownConceptException
AlreadyRegisteredException
DirectoryFailure
EnforcerInstantiationException
UnknownConceptException
public void setRegistrationHelper(KAoSAgentRegistrationHelper regHelper)
public void testPolicies()
protected void printDebugString(java.lang.String msg)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |