java.rmi.server
abstract public class: RMISocketFactory [javadoc |
source]
java.lang.Object
java.rmi.server.RMISocketFactory
All Implemented Interfaces:
RMIClientSocketFactory, RMIServerSocketFactory
An
RMISocketFactory instance is used by the RMI runtime
in order to obtain client and server sockets for RMI calls. An
application may use the
setSocketFactory method to
request that the RMI runtime use its socket factory instance
instead of the default implementation.
The default socket factory implementation used goes through a
three-tiered approach to creating client sockets. First, a direct
socket connection to the remote VM is attempted. If that fails
(due to a firewall), the runtime uses HTTP with the explicit port
number of the server. If the firewall does not allow this type of
communication, then HTTP to a cgi-bin script on the server is used
to POST the RMI call.
- author:
Ann - Wollrath
- author:
Peter - Jones
- since:
JDK1.1 -
| Methods from java.lang.Object: |
|---|
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |