org.sapia.ubik.net
Interface UbikServerSocketFactory

All Superinterfaces:
java.rmi.server.RMIServerSocketFactory
All Known Implementing Classes:
DefaultUbikServerSocketFactory, MultiplexServerSocketFactory

public interface UbikServerSocketFactory
extends java.rmi.server.RMIServerSocketFactory

Author:
Yanick Duchesne
Copyright:
Copyright © 2002-2003 Sapia Open Source Software. All Rights Reserved.
License:
Read the license.txt file of the jar or visit the license page at the Sapia OSS web site

Method Summary
 java.net.ServerSocket createServerSocket(int port)
           
 java.net.ServerSocket createServerSocket(int port, java.lang.String bindAddr)
           
 

Method Detail

createServerSocket

java.net.ServerSocket createServerSocket(int port)
                                         throws java.io.IOException
Specified by:
createServerSocket in interface java.rmi.server.RMIServerSocketFactory
Throws:
java.io.IOException
See Also:
RMIServerSocketFactory.createServerSocket(int)

createServerSocket

java.net.ServerSocket createServerSocket(int port,
                                         java.lang.String bindAddr)
                                         throws java.io.IOException
Parameters:
port - the port on which the socket should listen.
bindAddr - the local IP address to which the socket should be bound.
Returns:
a ServerSocket.
Throws:
java.io.IOException - if a problem occurs creating the socket.


Copyright © 2010 Sapia OSS. All Rights Reserved.