| ||||||||||
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.InformationPersonaeAgent
Description of the Class
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 | |
InformationPersonaeAgent(String userName, String password) Constructor for the InformationPersonaeAgent object | |
InformationPersonaeAgent() Constructor for the InformationPersonaeAgent object | |
InformationPersonaeAgent(Facility facility, AgentProperties defaultAgentProperties) Constructor for the InformationPersonaeAgent object |
Method Summary | |
protected void | checkLoneliness() Description of the Method |
void | finished(MessageWaiter messageWaiter) Description of the Method |
void | fromXmlElement(Element source) Description of the Method |
protected Collection | getKnowledgeAgents() Gets the KnowledgeAgents attribute of the InformationPersonaeAgent object |
RoutingTag | getMonitorAgentRoutingTag() Gets the MonitorAgentRoutingTag attribute of the InformationPersonaeAgent object |
protected String | getPassword() Gets the Password attribute of the InformationPersonaeAgent object |
String | getQuote() Gets the Quote attribute of the InformationPersonaeAgent object |
protected double | getRequiredRelevance() Gets the RequiredRelevance attribute of the InformationPersonaeAgent object |
protected Stack | getTraitsStack() Gets the TraitsStack attribute of the InformationPersonaeAgent object |
protected String | getUserName() Gets the UserName attribute of the InformationPersonaeAgent object |
protected void | getVisualizerNodesFinished(MessageWaiter messageWaiter) Gets the VisualizerNodesFinished attribute of the InformationPersonaeAgent object |
void | handleDoAddKnowledgeAgentMessage(AgentMessage m) Message: doAddKnowledgeAgent Parameters: Required: MamId: |
void | handleDoAdjustFundsMessage(AgentMessage m) |
void | handleDoAdjustTraitsMessage(AgentMessage m) Description of the Method |
void | handleDoLoginMessage(AgentMessage m) Description of the Method |
void | handleDoModifyTraitsMessage(AgentMessage m) Description of the Method |
void | handleDoMooCombatDeathMessage(AgentMessage m) Description of the Method |
void | handleDoQueryInformationPersonaeMessage(AgentMessage m) Message: doQueryIP Parameters: Required: QueryPhrase: |
void | handleDoQueryKnownAgentsMessage(AgentMessage m) Description of the Method |
void | handleDoRemoveKnowledgeAgentMessage(AgentMessage m) Message: doRemoveKnowledgeAgent Parameters: Required: MamId: |
void | handleDoRestoreTraitsMessage(AgentMessage m) Description of the Method |
void | handleDoSetMonitorAgentMessage(AgentMessage m) Description of the Method |
void | handleDoShowMarketingTextMessage(AgentMessage message) Description of the Method |
void | handleDoStreamKnownAgentsMessage(AgentMessage m) Description of the Method |
void | handleEventDeclareFacilityShutdownMessage(AgentMessage m) Description of the Method |
void | handleEventDeclareKnowledgeMessage(AgentMessage m) Description of the Method |
void | handleEventQueryKnowledgeResultsMessage(AgentMessage m) Description of the Method |
void | handleGetMonitorAgentMessage(AgentMessage m) Description of the Method |
void | handleGetVisualizerNodesMessage(AgentMessage m) Description of the Method |
void | handleSetLoginInfoMessage(AgentMessage m) Message: doSetUserNamePassword Sets the UserName/Password of this IP So far, username / password don't actually do much useful... |
protected void | idleActivity() Description of the Method |
protected void | popAgentTraits() Description of the Method |
protected void | pushAgentTraits() Description of the Method |
protected void | queryKnowledgeAgentsFinished(MessageWaiter messageWaiter) Description of the Method |
protected void | queryKnownAgentsFinished(MessageWaiter messageWaiter) Description of the Method |
protected void | queryKnownAgentsIteration(MessageWaiter messageWaiter, Collection responses) Description of the Method |
protected void | registerRoutingTags() Description of the Method |
void | responsesReceived(MessageWaiter messageWaiter, Serializable identifier, Collection recentResponses) Description of the Method |
void | run() Main processing method for the InformationPersonaeAgent object |
void | setGuest(boolean b) Sets the Guest attribute of the InformationPersonaeAgent object |
protected void | setKnowledgeAgents(Collection knowledgeAgents) Sets the KnowledgeAgents attribute of the InformationPersonaeAgent object |
void | setMonitorAgentRoutingTag(RoutingTag monitorAgentRoutingTag) Sets the MonitorAgentRoutingTag attribute of the InformationPersonaeAgent object |
void | setPassword(String password) Sets the Password attribute of the InformationPersonaeAgent object |
void | setUserName(String userName) Sets the UserName attribute of the InformationPersonaeAgent object |
String | toString() Description of the Method |
Element | toXmlElement() Description of the Method |
Element | toXmlElement(String tagName) Description of the Method |
protected void | unregisterRoutingTags() 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 |
public final static RoutingTag AGENT_TRAITS_LISTENER_ROUTING_TAG
protected final static String DO_QUERY_KNOWLEDGE_AGENTS_MESSAGE_WAITER_ID
protected final static String DO_QUERY_KNOWN_AGENTS_MESSAGE_WAITER_ID
protected final static String GET_VISUALIZER_NODES_MESSAGE_WAITER_ID
public final static RoutingTag INFORMATION_PERSONAE_ROUTING_TAG
public final static RoutingTag IP_AGENT_FUNDS_LISTENER_ROUTING_TAG
public final static RoutingTag IP_AGENT_KNOWLEDGE_ACTIVITY_LISTENER_TAG
protected final static String KNOWLEDGE_AGENT_MAM_ID_TAG_NAME
protected final static String KNOWLEDGE_AGENT_MAM_ID_VALUE_ATTRIBUTE
protected final static String KNOWLEDGE_AGENT_TAG_NAME
protected final static String KNOWLEDGE_AGENTS_TAG_NAME
static Category Log
private long LONELINESS_CHECK_INTERVAL
private double LONELINESS_TRAIT_DELTA
private RoutingTag m_attrMonitorAgentRoutingTag
private String m_attrPassword
private String m_attrUserName
private Map m_backupTraits
protected Collection m_knowledgeAgents
private Date m_lastLonelinessCheck
private double m_oldAlienation
private double m_oldAmbition
private double m_oldAnxiety
private double m_requiredRelevance
private Stack m_traitsStack
protected final static String MONITOR_AGENT_TAG_NAME
protected final static String PASSWORD_TAG_NAME
protected final static long QUERY_IP_TIME_OUT
protected final static long QUERY_IP_UPDATE_PERIOD
protected final static long QUERY_KNOWN_AGENTS_TIMEOUT
protected final static long QUERY_KNOWN_AGENTS_UPDATE_PERIOD
protected final static String USER_NAME_TAG_NAME
Constructor Detail |
public InformationPersonaeAgent(String userName, String password)
public InformationPersonaeAgent()
public InformationPersonaeAgent(Facility facility, AgentProperties defaultAgentProperties)
Method Detail |
protected void checkLoneliness()
public void finished(MessageWaiter messageWaiter)
public void fromXmlElement(Element source)
protected Collection getKnowledgeAgents()
public RoutingTag getMonitorAgentRoutingTag()
protected String getPassword()
public String getQuote()
protected double getRequiredRelevance()
protected Stack getTraitsStack()
protected String getUserName()
protected void getVisualizerNodesFinished(MessageWaiter messageWaiter)
public void handleDoAddKnowledgeAgentMessage(AgentMessage m)
public void handleDoAdjustFundsMessage(AgentMessage m)
public void handleDoAdjustTraitsMessage(AgentMessage m)
public void handleDoLoginMessage(AgentMessage m)
public void handleDoModifyTraitsMessage(AgentMessage m)
public void handleDoMooCombatDeathMessage(AgentMessage m)
public void handleDoQueryInformationPersonaeMessage(AgentMessage m)
public void handleDoQueryKnownAgentsMessage(AgentMessage m)
public void handleDoRemoveKnowledgeAgentMessage(AgentMessage m)
public void handleDoRestoreTraitsMessage(AgentMessage m)
public void handleDoSetMonitorAgentMessage(AgentMessage m)
public void handleDoShowMarketingTextMessage(AgentMessage message)
public void handleDoStreamKnownAgentsMessage(AgentMessage m)
public void handleEventDeclareFacilityShutdownMessage(AgentMessage m)
public void handleEventDeclareKnowledgeMessage(AgentMessage m)
public void handleEventQueryKnowledgeResultsMessage(AgentMessage m)
public void handleGetMonitorAgentMessage(AgentMessage m)
public void handleGetVisualizerNodesMessage(AgentMessage m)
public void handleSetLoginInfoMessage(AgentMessage m)
protected void idleActivity()
protected void popAgentTraits()
protected void pushAgentTraits()
protected void queryKnowledgeAgentsFinished(MessageWaiter messageWaiter)
protected void queryKnownAgentsFinished(MessageWaiter messageWaiter)
protected void queryKnownAgentsIteration(MessageWaiter messageWaiter, Collection responses)
protected void registerRoutingTags()
public void responsesReceived(MessageWaiter messageWaiter, Serializable identifier, Collection recentResponses)
public void run()
public void setGuest(boolean b)
protected void setKnowledgeAgents(Collection knowledgeAgents)
public void setMonitorAgentRoutingTag(RoutingTag monitorAgentRoutingTag)
public void setPassword(String password)
public void setUserName(String userName)
public String toString()
public Element toXmlElement()
public Element toXmlElement(String tagName)
protected void unregisterRoutingTags()
| ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |