KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > sapia > ubik > net > UbikServerSocketFactory


1 package org.sapia.ubik.net;
2
3 import java.io.IOException JavaDoc;
4
5 import java.net.ServerSocket JavaDoc;
6
7 import java.rmi.server.RMIServerSocketFactory JavaDoc;
8
9
10 /**
11  * @author Yanick Duchesne
12  * <dl>
13  * <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>
14  * <dt><b>License:</b><dd>Read the license.txt file of the jar or visit the
15  * <a HREF="http://www.sapia-oss.org/license.html">license page</a> at the Sapia OSS web site</dd></dt>
16  * </dl>
17  */

18 public interface UbikServerSocketFactory extends RMIServerSocketFactory JavaDoc {
19   /**
20    * @see java.rmi.server.RMIServerSocketFactory#createServerSocket(int)
21    */

22   public ServerSocket JavaDoc createServerSocket(int port) throws IOException JavaDoc;
23
24   /**
25    * @param port the port on which the socket should listen.
26    * @param bindAddr the local IP address to which the socket should be bound.
27    * @return a <code>ServerSocket</code>.
28    * @throws IOException if a problem occurs creating the socket.
29    */

30   public ServerSocket JavaDoc createServerSocket(int port, String JavaDoc bindAddr)
31     throws IOException JavaDoc;
32 }
33
Popular Tags