zeus.actors.intrays
Interface FIPA_2000_Handler

All Known Implementing Classes:
Zeus_ACC_Server

public interface FIPA_2000_Handler

interface to allow the connection of a FIPA_2000_Server to an object that collates and manages message reception from it (the FIPA_97_Server) and other sources (FIPA_97_Server, FIPA_2000_HTTP_Server).

Alternatively this can be used to implement a single inbox service.

Since:
1.1
Author:
Simon Thompson

Method Summary
 void handle(FipaMessage aMessage)
          handle is the method that must be implemented by the collation object.
 void registerAgent(FIPA_AID_Address addr, java.lang.String name)
          Allow the registration of an agent's presence with the handler.
 

Method Detail

handle

public void handle(FipaMessage aMessage)
handle is the method that must be implemented by the collation object. I imagine that this method will process the string received in some way, perhaps by using it to instantiate a FIPAPerformative, or a Performative, and then call other methods that will decide what to do with it

Implemetations of this method is synchronized to preven simultaneous access from multiple FIPA_2000 servers (for instance when the agent has two names in the CORBA name space, or when it is using both IIOP and HTTP transports).


registerAgent

public void registerAgent(FIPA_AID_Address addr,
                          java.lang.String name)
Allow the registration of an agent's presence with the handler.



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