zeus.concepts
Class FIPA_AddressBook
java.lang.Object
java.util.Dictionary
java.util.Hashtable
zeus.concepts.AddressBook
zeus.concepts.FIPA_AddressBook
- All Implemented Interfaces:
- java.lang.Cloneable, java.util.Map, java.io.Serializable
- public class FIPA_AddressBook
- extends AddressBook
FIPA_AddressBook is an extention of the addressbook that can cope with fipa
AID addresses, the intention is that this should be used to implement an
ACC agent that can act as a gateway from Zeus agencies to the FIPA world.
The objective of this class is to provide something that can store agent aliases
so that when the ACC gets a message that is addressed to testForwardACCiioptbtoledofuturesbtcom
it can lookup the appropriate aid to construct a fipa performative which can be
sent to the target agent
- See Also:
- Serialized Form
| Nested classes inherited from class java.util.Hashtable |
|
| Fields inherited from class java.util.Hashtable |
|
| Methods inherited from class java.util.Hashtable |
clear, clone, contains, containsKey, containsValue, elements, entrySet, equals, get, hashCode, isEmpty, keys, keySet, put, putAll, rehash, remove, size, toString, values |
| Methods inherited from class java.lang.Object |
finalize, getClass, notify, notifyAll, wait, wait, wait |
FIPA_Addresses
private java.util.Hashtable FIPA_Addresses
FIPA_AddressBook
public FIPA_AddressBook()
add
public boolean add(FIPA_AID_Address fipa_address)
- add an address to the book
lookupFIPA
public FIPA_AID_Address lookupFIPA(java.lang.String name)
- find a proper address from a name of an agent
lookupAlias
public FIPA_AID_Address lookupAlias(java.lang.String alias)
- find a proper address from a name of an agent
checkAddress
public FIPA_AID_Address checkAddress(Address addr)
- determine if the address for this agent is in the address book, return
the correct address object if it is...
makeAlias
public static java.lang.String makeAlias(Address addr)
- utility method to be used to reconsitute local platform name from an
external name/host combo
Copyright © 2000-2003 BT Exact Technologies. All Rights Reserved.