| |
|
| java.lang.Object java.rmi.server.RMISocketFactory org.apache.harmony.rmi.transport.DefaultRMISocketFactory
DefaultRMISocketFactory | public class DefaultRMISocketFactory extends RMISocketFactory implements Serializable,RMIProperties(Code) | | Default
RMISocketFactory which is used by RMI runtime to create
client and server sockets. First it tries direct sockets and if
the attempt fails it tries HTTP-through sockets.
author: Mikhail A. Markov, Vasily Zakharov version: $Revision: 1.1.2.2 $ |
getNonNullClientFactory | public static RMIClientSocketFactory getNonNullClientFactory(RMIClientSocketFactory csf)(Code) | | Helper method: returns non-null RMIClientSocketFactory.
Returns specified RMIClientSocketFactory if it is not null; otherwise
returns result of getSocketFactory method call if it is not null;
otherwise returns result of getDefaultSocketFactory method call.
Parameters: csf - RMIClientSocketFactory to check non-null RMIClientSocketFactory |
getNonNullServerFactory | public static RMIServerSocketFactory getNonNullServerFactory(RMIServerSocketFactory ssf)(Code) | | Helper method: returns non-null RMIServerSocketFactory.
Returns specified RMIServerSocketFactory if it is not null; otherwise
returns result of getSocketFactory method call if it is not null;
otherwise returns result of getDefaultSocketFactory method call.
Parameters: ssf - RMIServerSocketFactory to check non-null RMIServerSocketFactory |
|
|
|