zeus.agents
Class FIPA_Services

java.lang.Object
  extended byzeus.agents.FIPA_Services
Direct Known Subclasses:
FIPA_AMS_Services, FIPA_DF_Services

public class FIPA_Services
extends java.lang.Object

FIPA_AMS_Services is used by the ACC agent to wrap the Nameserver so that it can be accessed exernally.


Field Summary
protected  AgentContext context
           
protected  java.lang.String host
           
protected  java.lang.String name
           
protected  java.lang.String type
           
 
Constructor Summary
FIPA_Services()
           
 
Method Summary
protected  void registerAlias(java.lang.String name)
          send a registration to the nameservers that we are using.
 void send(Performative perf)
           
 void setDeregister()
           
 void setHost(java.lang.String host)
          set the hap part of the df@hap name of the df to some value other than the default df@localhost (where local host is the ip address of this machine
 void setModify()
           
 void setName()
          set the name of the agent to df@host - if the host has been set, else set it to df@localhost
 void setName(java.lang.String name)
          set the name of the df to some arbitary value @param name This method should not normally be used.
 void setRegister()
          set the agent using this to handle messages that are ".
 void setSearch()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

context

protected AgentContext context

name

protected java.lang.String name

host

protected java.lang.String host

type

protected java.lang.String type
Constructor Detail

FIPA_Services

public FIPA_Services()
Method Detail

setRegister

public void setRegister()
set the agent using this to handle messages that are ".*receiver df@hap.*content (register" by calling the handleRegister method in this class


setDeregister

public void setDeregister()

setModify

public void setModify()

setSearch

public void setSearch()

setName

public void setName()
set the name of the agent to df@host - if the host has been set, else set it to df@localhost


setName

public void setName(java.lang.String name)
set the name of the df to some arbitary value @param name This method should not normally be used.


setHost

public void setHost(java.lang.String host)
set the hap part of the df@hap name of the df to some value other than the default df@localhost (where local host is the ip address of this machine


registerAlias

protected void registerAlias(java.lang.String name)
send a registration to the nameservers that we are using.


send

public void send(Performative perf)


Copyright © 2000-2003 BT Exact Technologies. All Rights Reserved.