brahms.communication
Interface IReplyHandler


public interface IReplyHandler

IReplyHandler is the interface to be implemented for a component to receive notifications of any replies received by an agent to a CommunicativeAct for which the agent registered the reply handler.

Version:
$Revision: 1.1 $ $Date: 2007/10/10 14:02:59 $ $Author: rvhoof $
Author:
Ron van Hoof

Method Summary
 void onReply(AbstractCommunicationAgent agent, CommunicativeAct reply, CommunicativeAct inReplyTo)
          Notifies this reply handler that the specified reply was received in reply to the specified CommunicativeAct for which this reply handler was registered.
 

Method Detail

onReply

void onReply(AbstractCommunicationAgent agent,
             CommunicativeAct reply,
             CommunicativeAct inReplyTo)
Notifies this reply handler that the specified reply was received in reply to the specified CommunicativeAct for which this reply handler was registered.

Parameters:
agent - the agent that registered for and received the reply
reply - the reply CommunicativeAct
inReplyTo - the CommunicativeAct the reply is a reply for.


Copyright © 1997-2012 All Rights Reserved.