zeus.agents
Class ACC
java.lang.Object
zeus.agents.ACC
- All Implemented Interfaces:
- ZeusExternal
- public class ACC
- extends java.lang.Object
- implements ZeusExternal
ACC is a Zeus agent that has been set up to act as a FIPA ACC.
This means that the ACC agent is the point of contact between agents in
a Zeus naming domain and agents in a FIPA naming domain
|
Constructor Summary |
ACC()
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
fipaNames
java.lang.String fipaNames
context
AgentContext context
msg
MsgHandler msg
contactsDb
public java.io.File contactsDb
contactsRoot
public Contacts contactsRoot
ACC
public ACC()
version
protected static void version()
usage
protected static void usage()
main
public static void main(java.lang.String[] arg)
exec
public void exec(AgentContext context)
- Specified by:
exec in interface ZeusExternal
setMessageRules
public void setMessageRules()
forward_message
public void forward_message(Performative perf)
loadFIPAAliases
protected void loadFIPAAliases()
saveFIPAAliases
protected void saveFIPAAliases()
add_new_contact
public void add_new_contact(Performative perf)
initialiseTransports
protected void initialiseTransports(java.lang.String transports)
- call the methods necessary to set up the agents transports using a different set of ports.
buildTree
private void buildTree()
- Traverses the XML document and creates the Java classes to
represent it
marshalTree
private void marshalTree()
- Writes XML content from the Java classes.
Copyright © 2000-2003 BT Exact Technologies. All Rights Reserved.