zeus.actors.intrays
Class Zeus_ACC_MailBox

java.lang.Object
  extended byzeus.actors.MailBox
      extended byzeus.actors.intrays.Zeus_ACC_MailBox

public class Zeus_ACC_MailBox
extends MailBox

zeus.actors.fipa.FIPA_Mailbox extends the normal zeus.actors.MailBox. In fact it is almost the same. The only changes are that the PostMan[] postman and Server server objects are overwritten with FIPA_PostMan and FIPA_Server instances. Since these are functionally equivalent to PostMan and Server everything else can be let be.


Field Summary
private  FIPA_AddressBook addressBook
           
protected  Queue fipaOut
           
protected  Zeus_ACC_Server fipaServer
           
 
Fields inherited from class zeus.actors.MailBox
asTable, ccMail, context, DISPATCH, eventMonitor, inMail, myAddress, NOT_DISPATCH, outMail, postman, QUEUE, RECEIVE, server, visualisers
 
Constructor Summary
Zeus_ACC_MailBox(AgentContext context)
           
 
Method Summary
 void addressReceived(Performative msg)
           
 java.lang.String addressSought(java.lang.String agent)
          changed to public so that subclasses of the classes in this package can have access (Simon)
 FIPA_AID_Address FIPA_Lookup(java.lang.String agent_address_string)
          lookup the address of a FIPA agent from the name that is being used for it in the Zeus agency.
 FIPA_PostMan getFIPA_PostMan()
           
 InTray getInTray()
          added so that transports can be accessed
 Zeus_ACC_Server getZeus_ACC_Server()
           
 boolean is_FIPA(java.lang.String agent_address_string)
           
 
Methods inherited from class zeus.actors.MailBox
add, add, addMessageMonitor, del, del, getAddress, getAgentContext, informVisualisers, listAddresses, logMessages, lookup, lowerStatus, nextMsg, notifyMonitors, postErrorMsg, register, removeMessageMonitor, sendMsg, shutdown, stopDispatching, stopLoggingMessages, stopProcessing
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

addressBook

private FIPA_AddressBook addressBook

fipaOut

protected Queue fipaOut

fipaServer

protected Zeus_ACC_Server fipaServer
Constructor Detail

Zeus_ACC_MailBox

public Zeus_ACC_MailBox(AgentContext context)
Method Detail

getFIPA_PostMan

public FIPA_PostMan getFIPA_PostMan()

getZeus_ACC_Server

public Zeus_ACC_Server getZeus_ACC_Server()

getInTray

public InTray getInTray()
Description copied from class: MailBox
added so that transports can be accessed

Overrides:
getInTray in class MailBox

is_FIPA

public boolean is_FIPA(java.lang.String agent_address_string)

FIPA_Lookup

public FIPA_AID_Address FIPA_Lookup(java.lang.String agent_address_string)
lookup the address of a FIPA agent from the name that is being used for it in the Zeus agency.


addressSought

public java.lang.String addressSought(java.lang.String agent)
Description copied from class: MailBox
changed to public so that subclasses of the classes in this package can have access (Simon)

Overrides:
addressSought in class MailBox

addressReceived

public void addressReceived(Performative msg)
Overrides:
addressReceived in class MailBox


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