KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > sapia > ubik > rmi > server > command > ResponseSender


1 package org.sapia.ubik.rmi.server.command;
2
3
4 /**
5  * Specifies the behavior of a sender of <code>Response</code> instances.
6  *
7  * @see CommandProcessor#setResponseSender(ResponseSender)
8  *
9  * @author Yanick Duchesne
10  * <dl>
11  * <dt><b>Copyright:</b><dd>Copyright &#169; 2002-2003 <a HREF="http://www.sapia-oss.org">Sapia Open Source Software</a>. All Rights Reserved.</dd></dt>
12  * <dt><b>License:</b><dd>Read the license.txt file of the jar or visit the
13  * <a HREF="http://www.sapia-oss.org/license.html">license page</a> at the Sapia OSS web site</dd></dt>
14  * </dl>
15  */

16 public interface ResponseSender {
17   /**
18    * Sends the given list of responses to the host corresponding to the
19    * given destination.
20    *
21    * @param dest a <code>Destination</code>.
22    * @param responses a <code>List</code> of <code>Response</code> objects.
23    */

24   public void sendResponses(Destination destination, java.util.List JavaDoc responses);
25 }
26
Popular Tags