zeus.agents
Class ACC

java.lang.Object
  extended byzeus.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


Field Summary
 java.io.File contactsDb
           
 Contacts contactsRoot
           
(package private)  AgentContext context
           
(package private)  java.lang.String fipaNames
           
(package private)  MsgHandler msg
           
 
Constructor Summary
ACC()
           
 
Method Summary
 void add_new_contact(Performative perf)
           
private  void buildTree()
          Traverses the XML document and creates the Java classes to represent it
 void exec(AgentContext context)
           
 void forward_message(Performative perf)
           
protected  void initialiseTransports(java.lang.String transports)
          call the methods necessary to set up the agents transports using a different set of ports.
protected  void loadFIPAAliases()
           
static void main(java.lang.String[] arg)
           
private  void marshalTree()
          Writes XML content from the Java classes.
protected  void saveFIPAAliases()
           
 void setMessageRules()
           
protected static void usage()
           
protected static void version()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

fipaNames

java.lang.String fipaNames

context

AgentContext context

msg

MsgHandler msg

contactsDb

public java.io.File contactsDb

contactsRoot

public Contacts contactsRoot
Constructor Detail

ACC

public ACC()
Method Detail

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.