zeus.agents
Class FIPA_AMS_Services

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


Field Summary
private  java.util.Hashtable ams_info
           
private  SLCodec codec
           
 
Fields inherited from class zeus.agents.FIPA_Services
context, host, name, type
 
Constructor Summary
FIPA_AMS_Services()
           
 
Method Summary
(package private)  void debug(java.lang.String str)
           
 void deleteAddress(AddressEvent addr)
           
 void exec(AgentContext context)
           
 void handleDeregister(Performative perf)
           
 void handleGet_description(Performative perf)
          this ap-description is hard coded to use the ports in Zeus_ACC_Server
 void handleModify(Performative perf)
           
 void handleRegister(Performative perf)
          method for handleing a registration message to the ams
 void handleSearch(Performative perf)
           
 void informDone(Performative perf)
           
static void main(java.lang.String[] argv)
           
 AMS_Description makeDescription(AbsConcept act)
           
 void newAddress(AddressEvent addr)
           
 void notUnderstood(Performative inPerf, java.lang.String reason)
           
 void replaceAddress(AddressEvent addr)
           
 void sendAgree(Performative perf)
          make an "agree" response in SL
 void setGet_description()
           
private  java.lang.String stripLeadingTrailing(java.lang.String str)
          not the best thing to do...
 
Methods inherited from class zeus.agents.FIPA_Services
registerAlias, send, setDeregister, setHost, setModify, setName, setName, setRegister, setSearch
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ams_info

private java.util.Hashtable ams_info

codec

private SLCodec codec
Constructor Detail

FIPA_AMS_Services

public FIPA_AMS_Services()
Method Detail

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.