massim.agent
Class ExampleAgent

java.lang.Object
  extended by massim.agent.AbstractAgent
      extended by massim.agent.ExampleAgent

public class ExampleAgent
extends AbstractAgent


Field Summary
 
Fields inherited from class massim.agent.AbstractAgent
documentbuilderfactory, logger, username
 
Constructor Summary
ExampleAgent()
           
 
Method Summary
static void main(java.lang.String[] args)
           
 void processLogIn()
           
 void processRequestAction(org.w3c.dom.Element perception, org.w3c.dom.Element target, long currenttime, long deadline)
           
 void processSimulationEnd(org.w3c.dom.Element perception, long currenttime)
           
 void processSimulationStart(org.w3c.dom.Element perception, long currenttime)
           
 
Methods inherited from class massim.agent.AbstractAgent
agentThread, doAuthentication, getDate, getHost, getPassword, getPort, getUsername, processMessage, receiveAuthenticationResult, receiveDocument, receivePacket, sendAuthentication, sendDocument, setHost, setPassword, setPort, setUsername, start
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ExampleAgent

public ExampleAgent()
Method Detail

main

public static void main(java.lang.String[] args)

processLogIn

public void processLogIn()
Overrides:
processLogIn in class AbstractAgent

processSimulationEnd

public void processSimulationEnd(org.w3c.dom.Element perception,
                                 long currenttime)
Overrides:
processSimulationEnd in class AbstractAgent

processSimulationStart

public void processSimulationStart(org.w3c.dom.Element perception,
                                   long currenttime)
Overrides:
processSimulationStart in class AbstractAgent

processRequestAction

public void processRequestAction(org.w3c.dom.Element perception,
                                 org.w3c.dom.Element target,
                                 long currenttime,
                                 long deadline)
Overrides:
processRequestAction in class AbstractAgent


Copyright © 2012. All Rights Reserved.