public class ExampleAgent extends AbstractAgent
documentbuilderfactory, logger, username
Constructor and Description |
---|
ExampleAgent() |
Modifier and Type | Method and Description |
---|---|
static void |
main(String[] args) |
void |
processLogIn() |
void |
processRequestAction(Element perception,
Element target,
long currenttime,
long deadline) |
void |
processSimulationEnd(Element perception,
long currenttime) |
void |
processSimulationStart(Element perception,
long currenttime) |
agentThread, doAuthentication, getDate, getHost, getPassword, getPort, getUsername, processMessage, receiveAuthenticationResult, receiveDocument, receivePacket, sendAuthentication, sendDocument, setHost, setPassword, setPort, setUsername, start
public static void main(String[] args)
public void processLogIn()
processLogIn
in class AbstractAgent
public void processSimulationEnd(Element perception, long currenttime)
processSimulationEnd
in class AbstractAgent
public void processSimulationStart(Element perception, long currenttime)
processSimulationStart
in class AbstractAgent
public void processRequestAction(Element perception, Element target, long currenttime, long deadline)
processRequestAction
in class AbstractAgent
Copyright © 2013. All Rights Reserved.