zeus.agents
Class FIPA_AMS_Services
java.lang.Object
zeus.agents.FIPA_Services
zeus.agents.FIPA_AMS_Services
- All Implemented Interfaces:
- AddressListener
- public class FIPA_AMS_Services
- extends FIPA_Services
- implements AddressListener
FIPA_AMS_Services is used by the ACC agent to wrap the Nameserver
so that it can be accessed exernally.
Change Log
----------
01/03/02 - using JADE_SL parser.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ams_info
private java.util.Hashtable ams_info
codec
private SLCodec codec
FIPA_AMS_Services
public FIPA_AMS_Services()
exec
public void exec(AgentContext context)
setGet_description
public void setGet_description()
stripLeadingTrailing
private java.lang.String stripLeadingTrailing(java.lang.String str)
- not the best thing to do...
handleGet_description
public void handleGet_description(Performative perf)
- this ap-description is hard coded to use the ports in Zeus_ACC_Server
informDone
public void informDone(Performative perf)
sendAgree
public void sendAgree(Performative perf)
- make an "agree" response in SL
handleRegister
public void handleRegister(Performative perf)
- method for handleing a registration message to the ams
makeDescription
public AMS_Description makeDescription(AbsConcept act)
handleDeregister
public void handleDeregister(Performative perf)
handleModify
public void handleModify(Performative perf)
handleSearch
public void handleSearch(Performative perf)
notUnderstood
public void notUnderstood(Performative inPerf,
java.lang.String reason)
debug
void debug(java.lang.String str)
main
public static void main(java.lang.String[] argv)
newAddress
public void newAddress(AddressEvent addr)
- Specified by:
newAddress in interface AddressListener
deleteAddress
public void deleteAddress(AddressEvent addr)
- Specified by:
deleteAddress in interface AddressListener
replaceAddress
public void replaceAddress(AddressEvent addr)
- Specified by:
replaceAddress in interface AddressListener
Copyright © 2000-2003 BT Exact Technologies. All Rights Reserved.