org.almendra.janet.cas.agents
Interface IAgent
- All Superinterfaces:
- ICommandAcceptor, INamedObject
- All Known Implementing Classes:
- AbstractAgent, Agent, SystemAgent
public interface IAgent
- extends ICommandAcceptor, INamedObject
- Author:
- Oliver
accept
void accept(CommandEnvelope commandEnvelope)
- Specified by:
accept
in interface ICommandAcceptor
getQualifiedName
java.lang.String getQualifiedName()
stop
void stop()
getObjectSpace
IObjectSpace getObjectSpace()
getApplication
AbstractApplication getApplication()
getCapability
Capability getCapability()
getNode
Node getNode()
throws InsufficientPrivilegeException
- Throws:
InsufficientPrivilegeException
getAgentProxy
IAgentProxy getAgentProxy()
isSystemAgent
boolean isSystemAgent()
isApplicationAgent
boolean isApplicationAgent()
getSystemApplication
SystemApplication getSystemApplication()
throws InsufficientPrivilegeException
- Throws:
InsufficientPrivilegeException
getAgentPath
AgentPath getAgentPath()
getAllForeignAgents
IAgentProxy getAllForeignAgents(java.lang.String capabilityName)
throws java.lang.IllegalArgumentException,
NoSuchAgentException,
IllegalAgentAccessException
- Throws:
java.lang.IllegalArgumentException
NoSuchAgentException
IllegalAgentAccessException
getLogger
Logger getLogger()
getForeignAgent
IAgentProxy getForeignAgent(java.lang.String nodeName,
java.lang.String capabilityName)
throws java.lang.IllegalArgumentException,
NoSuchAgentException,
IllegalAgentAccessException
- Throws:
java.lang.IllegalArgumentException
NoSuchAgentException
IllegalAgentAccessException
getAllForeignAgents
IAgentProxy getAllForeignAgents(java.lang.String capabilityName,
java.lang.String agentName)
throws java.lang.IllegalArgumentException,
NoSuchAgentException,
IllegalAgentAccessException
- Throws:
java.lang.IllegalArgumentException
NoSuchAgentException
IllegalAgentAccessException
isIdle
boolean isIdle()
getQueueSize
long getQueueSize()
- Returns: