| |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
fipaos.mts.MTPBase | +--fipaos.mts.InternalMTPBase | +--fipaos.test.agent.TestingMTP
MTP implementation which allows an Agent to be tested at the ACL level of abstraction
Field Summary | |
static Object | __dummy Dummy object for observer to use |
static URL | __dummy_url URL for tester |
static Map | __ns NS Map ;) |
Fields inherited from class fipaos.mts.MTPBase |
_shutdown, ACC_NAME |
Constructor Summary | |
TestingMTP(String name, URL ns) |
Method Summary | |
java.util.List | getAddresses() |
static AgentID | getAID() Get the AID to be used by tester |
static Message | getNextIncomingMessage() Get the next incoming message from the given Agent |
java.util.List | getProtocols() |
static boolean | sendMessage(String name, Message msg) Send the given message to the given Agent - please ensure to set AID in ACL and Envelope appropriately |
static boolean | sendMessage(URL url, Message msg) Send the given message to the given Agent - please ensure to set AID in ACL and Envelope appropriately |
void | shutdown() |
Methods inherited from class fipaos.mts.InternalMTPBase |
incoming, initialise, main, outgoing |
Field Detail |
public static Object __dummy
public static URL __dummy_url
public static Map __ns
Constructor Detail |
public TestingMTP(String name, URL ns)
throws java.lang.Exception
Method Detail |
public java.util.List getAddresses()
public static AgentID getAID()
public static Message getNextIncomingMessage()
public java.util.List getProtocols()
public static boolean sendMessage(String name, Message msg)
public static boolean sendMessage(URL url, Message msg)
public void shutdown()
Association Links |
to Class java.lang.Object
to Class fipaos.util.URL
to Class java.lang.String
to Class fipaos.util.URL
to Class fipaos.util.Queue
| |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |