| ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--java.lang.Thread | +--mam.agent.Agent | +--mam.agent.TransactionalAgent | +--mam.agent.SecretAgent
Description of the Class
Field Summary | |
protected final static String | ADD_KNOWLEDGE_AGENT_MESSAGE_WAITER_ID |
protected final static long | DEFAULT_TIMEOUT |
protected final static long | DEFAULT_UPDATE_PERIOD |
protected final static String | GET_MONITOR_AGENT_MESSAGE_WAITER_ID |
protected final static String | KNOWN_INFORMATION_PERSONAE_ROLE |
protected Collection | m_associatedMonitorAgents |
protected RoutingTag | m_attrBossRoutingTag |
protected boolean | m_attrMissionOn |
protected Collection | m_secretIdentities |
protected final static String | QUERY_TARGET_AGENT_MESSAGE_WAITER_ID |
protected final static String | REMOVE_KNOWLEDGE_AGENT_MESSAGE_WAITER_ID |
Fields inherited from class mam.agent.TransactionalAgent |
m_messageWaiters |
Fields inherited from class mam.agent.Agent |
AGENT_ACCESS_STATISTICS_TAG_NAME, AGENT_PROPERTIES_TAG_NAME, AGENT_TRAITS_TAG_NAME, ALL_AGENTS_ROUTING_TAG, DEFAULT_TAG_NAME, m_accessStatisticsGroup, m_agentProperties, m_facility, m_incomingMessageQueue, m_shutdown, m_sleepManager, ROLE_TAG_NAME |
Fields inherited from class java.lang.Thread |
MIN_PRIORITY, NORM_PRIORITY, MAX_PRIORITY |
Constructor Summary | |
SecretAgent() Constructor for the SecretAgent object |
Method Summary | |
protected void | finishAddKnowledgeAgentReport(MessageWaiter messageWaiter) Description of the Method |
void | finished(MessageWaiter messageWaiter) Description of the Method |
protected void | finishRemoveKnowledgeAgentReport(MessageWaiter messageWaiter) Description of the Method |
protected RoutingTag | getBossRoutingTag() Gets the BossRoutingTag attribute of the SecretAgent object |
protected boolean | getMissionOn() Gets the MissionOn attribute of the SecretAgent object |
protected Collection | getSecretIdentities() Gets the SecretIdentities attribute of the SecretAgent object |
void | handleDoAddIdentityMessage(AgentMessage m) Description of the Method |
void | handleDoEndMissionMessage(AgentMessage m) Description of the Method |
void | handleDoRemoveIdentityMessage(AgentMessage m) Description of the Method |
void | handleDoStartMissionMessage(AgentMessage m) Description of the Method |
void | handleEventMonitoredUrlAddedMessage(AgentMessage m) Description of the Method |
void | handleEventMonitoredUrlRemovedMessage(AgentMessage m) Description of the Method |
void | handleGetQuoteMessage(AgentMessage m) Description of the Method |
protected void | invokeMessageHandler(AgentMessage message) Utility method to use reflection to invoke the standard handler for whatever message is passed. |
protected void | removeAssociatedMonitorAgents() Description of the Method |
protected void | removeSecretIdentities() Description of the Method |
protected void | report(AgentMessage m) Description of the Method |
void | responsesReceived(MessageWaiter messageWaiter, Serializable identifier, Collection recentResponses) Description of the Method |
protected void | setBossRoutingTag(RoutingTag bossRoutingTag) Sets the BossRoutingTag attribute of the SecretAgent object |
protected void | setMissionOn(boolean missionOn) Sets the MissionOn attribute of the SecretAgent object |
protected void | updateDisguise(MessageWaiter messageWaiter) Description of the Method |
protected void | updateMonitorAgentMapping(MessageWaiter messageWaiter) Description of the Method |
Methods inherited from class mam.agent.TransactionalAgent |
enqueueMessage, getMessageWaiters |
Methods inherited from class java.lang.Thread |
currentThread, yield, sleep, sleep, start, stop, stop, interrupt, interrupted, isInterrupted, destroy, isAlive, suspend, resume, setPriority, getPriority, setName, getName, getThreadGroup, activeCount, enumerate, countStackFrames, join, join, join, dumpStack, setDaemon, isDaemon, checkAccess, getContextClassLoader, setContextClassLoader |
Methods inherited from class java.lang.Object |
getClass, hashCode, equals, clone, notify, notifyAll, wait, wait, wait, finalize |
Field Detail |
protected final static String ADD_KNOWLEDGE_AGENT_MESSAGE_WAITER_ID
protected final static long DEFAULT_TIMEOUT
protected final static long DEFAULT_UPDATE_PERIOD
protected final static String GET_MONITOR_AGENT_MESSAGE_WAITER_ID
protected final static String KNOWN_INFORMATION_PERSONAE_ROLE
protected Collection m_associatedMonitorAgents
protected RoutingTag m_attrBossRoutingTag
protected boolean m_attrMissionOn
protected Collection m_secretIdentities
protected final static String QUERY_TARGET_AGENT_MESSAGE_WAITER_ID
protected final static String REMOVE_KNOWLEDGE_AGENT_MESSAGE_WAITER_ID
Constructor Detail |
public SecretAgent()
Method Detail |
protected void finishAddKnowledgeAgentReport(MessageWaiter messageWaiter)
public void finished(MessageWaiter messageWaiter)
protected void finishRemoveKnowledgeAgentReport(MessageWaiter messageWaiter)
protected RoutingTag getBossRoutingTag()
protected boolean getMissionOn()
protected Collection getSecretIdentities()
public void handleDoAddIdentityMessage(AgentMessage m)
public void handleDoEndMissionMessage(AgentMessage m)
public void handleDoRemoveIdentityMessage(AgentMessage m)
public void handleDoStartMissionMessage(AgentMessage m)
public void handleEventMonitoredUrlAddedMessage(AgentMessage m)
public void handleEventMonitoredUrlRemovedMessage(AgentMessage m)
public void handleGetQuoteMessage(AgentMessage m)
protected void invokeMessageHandler(AgentMessage message)
throws java.lang.Exception
protected void removeAssociatedMonitorAgents()
protected void removeSecretIdentities()
protected void report(AgentMessage m)
public void responsesReceived(MessageWaiter messageWaiter, Serializable identifier, Collection recentResponses)
protected void setBossRoutingTag(RoutingTag bossRoutingTag)
protected void setMissionOn(boolean missionOn)
protected void updateDisguise(MessageWaiter messageWaiter)
protected void updateMonitorAgentMapping(MessageWaiter messageWaiter)
| ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |