com.novell.service.session.spi
Class RMISocketFactories

java.lang.Object
  |
  +--com.novell.service.session.spi.RMISocketFactories

public class RMISocketFactories
extends java.lang.Object

This class allows the user to specify the custom sockets they want a particular SessionManager (and all objects returned by it) to use. Use the SessionEnv.RMI_SOCKET_FACTORIES_OBJECT key and this object in the SessionEnv you pass in when you create your SessionManager.


Constructor Summary
RMISocketFactories(int port, java.rmi.server.RMIClientSocketFactory clientSocketFactory, java.rmi.server.RMIServerSocketFactory serverSocketFactory)
           
 
Method Summary
 java.rmi.server.RMIClientSocketFactory getClientSocketFactory()
           
 int getPort()
           
 java.rmi.server.RMIServerSocketFactory getServerSocketFactory()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RMISocketFactories

public RMISocketFactories(int port,
                          java.rmi.server.RMIClientSocketFactory clientSocketFactory,
                          java.rmi.server.RMIServerSocketFactory serverSocketFactory)
Method Detail

getPort

public int getPort()

getClientSocketFactory

public java.rmi.server.RMIClientSocketFactory getClientSocketFactory()

getServerSocketFactory

public java.rmi.server.RMIServerSocketFactory getServerSocketFactory()