KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > sapia > ubik > rmi > server > transport > nio > tcp > DispatcherStrategy


1 package org.sapia.ubik.rmi.server.transport.nio.tcp;
2
3 import java.rmi.RemoteException JavaDoc;
4 import java.util.Properties JavaDoc;
5
6 import org.sapia.ubik.net.nio.Dispatcher;
7
8 /**
9  * An instance of this interface creates <code>Dispatcher</code> that follow a
10  * specific dispatching strategy.
11  *
12  * @see org.sapia.ubik.net.nio.Dispatcher
13  *
14  * @author Yanick Duchesne
15  *
16  * <dl>
17  * <dt><b>Copyright: </b>
18  * <dd>Copyright &#169; 2002-2005 <a HREF="http://www.sapia-oss.org">Sapia Open
19  * Source Software </a>. All Rights Reserved.</dd>
20  * </dt>
21  * <dt><b>License: </b>
22  * <dd>Read the license.txt file of the jar or visit the <a
23  * HREF="http://www.sapia-oss.org/license.html">license page </a> at the Sapia
24  * OSS web site</dd>
25  * </dt>
26  * </dl>
27  */

28 public interface DispatcherStrategy {
29
30   /**
31    * @param props
32    * some properties
33    * @return a <code>Dispatcher</code>.
34    * @throws RemoteException
35    */

36   public Dispatcher newDispatcher(Properties JavaDoc props) throws RemoteException JavaDoc;
37 }
38
Popular Tags