kaos.autonomy.test
Class TestRobot
java.lang.Object
kaos.core.service.boot.KAoSAgent
kaos.autonomy.test.TestRobot
- All Implemented Interfaces:
- KAoSAgentHelper
public class TestRobot
- extends KAoSAgent
Methods inherited from class kaos.core.service.boot.KAoSAgent |
acquireAgentDirectoryService, acquireAgentName, acquireAgentNamingService, acquireMessageTransportService, assertFalse, assertTrue, bindToMessageTransportService, checkPermission, createTransportMessage, equals, establishAgentDescription, findAgentDescriptionForID, findAgentDescriptionForNickname, getAgentID, getKAoSAgentDescription, hashCode, initialize, logMessage, logMessage, printTransportMessage, sendMessage, verifyRegistration |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
TestRobot
public TestRobot()
main
public static void main(java.lang.String[] args)
throws java.lang.Exception
- Throws:
java.lang.Exception
newEvent
public void newEvent(java.lang.String toWhom,
java.lang.String event)
sendMessageToAgent
protected void sendMessageToAgent(java.lang.String toWhom,
java.lang.Object content)
findAgent
protected AgentDescription findAgent(java.lang.String agentName)
buildTransportMessage
protected TransportMessage buildTransportMessage(AgentDescription agt,
java.lang.Object content)
receiveMessage
public void receiveMessage(TransportMessage tmsg)
- Description copied from class:
KAoSAgent
- Implements the receiveMessage method mandated by the
MessageListener interface. This method prints
the incoming TransportMessage to System.out.
- Overrides:
receiveMessage
in class KAoSAgent
- See Also:
MessageListener
,
TransportMessage
,
"JAS Specification, Section(s) 3.4.2, 4.7.2"
setCapabilities
public void setCapabilities()
updatePropertyValue
public void updatePropertyValue(Property property)