java.rmi.server

Class RMISocketFactory

public abstract class RMISocketFactory extends Object implements RMIClientSocketFactory, RMIServerSocketFactory

Constructor Summary
RMISocketFactory()
Method Summary
abstract ServerSocketcreateServerSocket(int port)
abstract SocketcreateSocket(String host, int port)
static RMISocketFactorygetDefaultSocketFactory()
static RMIFailureHandlergetFailureHandler()
static RMISocketFactorygetSocketFactory()
static voidsetFailureHandler(RMIFailureHandler fh)
static voidsetSocketFactory(RMISocketFactory fac)

Constructor Detail

RMISocketFactory

public RMISocketFactory()

Method Detail

createServerSocket

public abstract ServerSocket createServerSocket(int port)

Throws: IOException If an error occurs

createSocket

public abstract Socket createSocket(String host, int port)

Throws: IOException If an error occurs

getDefaultSocketFactory

public static RMISocketFactory getDefaultSocketFactory()

getFailureHandler

public static RMIFailureHandler getFailureHandler()

getSocketFactory

public static RMISocketFactory getSocketFactory()

setFailureHandler

public static void setFailureHandler(RMIFailureHandler fh)

Throws: SecurityException FIXME

setSocketFactory

public static void setSocketFactory(RMISocketFactory fac)

Throws: IOException If an error occurs SecurityException FIXME