|
Jadex 0.941 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
The adapter for a specific platform agent (e.g. a Jade agent). These are the methods a Jadex agents needs to call on its host agent.
Method Summary | |
BasicAgentIdentifier |
getAgentIdentifier()
Return the native agent-identifier that allows to send messages to this agent. |
IMessageEventTransport[] |
getMessageEventTransports()
Get all avaiable transports available on the native platform. |
String |
getPlatformType()
Used to determine the platform type. |
void |
idleStateChanged()
Called by the agent when it probably awoke from an idle state. |
boolean |
isAgentThread(Thread thread)
Test if the current thread is the agent thread. |
void |
killAgent()
This is called, after the agent has decided to kill itself. |
void |
notifyIn(long millis)
Notify the agent in a time interval. |
Method Detail |
public void idleStateChanged()
public void notifyIn(long millis)
IJadexAgent.notifyDue()
method.
millis
- The relative time in millis.public boolean isAgentThread(Thread thread)
thread
- The thread to test.
public void killAgent()
public String getPlatformType()
public BasicAgentIdentifier getAgentIdentifier()
public IMessageEventTransport[] getMessageEventTransports()
|
Jadex 0.941 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright (C) 2002-2005 Lars Braubach, Alexander Pokahr, Andrzej Walczak - University of Hamburg. Use is subject to license terms.