org.sapia.ubik.net
Class MultiplexServerSocketFactory

java.lang.Object
  extended by org.sapia.ubik.net.MultiplexServerSocketFactory
All Implemented Interfaces:
java.rmi.server.RMIServerSocketFactory, UbikServerSocketFactory

public class MultiplexServerSocketFactory
extends java.lang.Object
implements UbikServerSocketFactory

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

Constructor Summary
MultiplexServerSocketFactory()
           
 
Method Summary
 java.net.ServerSocket createServerSocket(int port)
           
 java.net.ServerSocket createServerSocket(int port, java.lang.String bindAddr)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MultiplexServerSocketFactory

public MultiplexServerSocketFactory()
Method Detail

createServerSocket

public java.net.ServerSocket createServerSocket(int port,
                                                java.lang.String bindAddr)
                                         throws java.io.IOException
Specified by:
createServerSocket in interface UbikServerSocketFactory
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.
See Also:
UbikServerSocketFactory.createServerSocket(int, java.lang.String)

createServerSocket

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


Copyright © 2010 Sapia OSS. All Rights Reserved.