|
JavaTM 2 Platform Std. Ed. v1.4.2 |
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use RMIClientSocketFactory | |
java.rmi.activation | Provides support for RMI Object Activation. |
java.rmi.registry | Provides a class and two interfaces for the RMI registry. |
java.rmi.server | Provides classes and interfaces for supporting the server side of RMI. |
Uses of RMIClientSocketFactory in java.rmi.activation |
Methods in java.rmi.activation with parameters of type RMIClientSocketFactory | |
static ActivationID |
Activatable.exportObject(Remote obj,
String location,
MarshalledObject data,
boolean restart,
int port,
RMIClientSocketFactory csf,
RMIServerSocketFactory ssf)
This exportObject method may be invoked explicitly
by an "activatable" object, that does not extend the
Activatable class, in order to both a) register
the object's activation descriptor, constructed from the supplied
location , and data , with
the activation system (so the object can be activated), and
b) export the remote object, obj , on a specific
port (if port=0, then an anonymous port is chosen). |
static Remote |
Activatable.exportObject(Remote obj,
ActivationID id,
int port,
RMIClientSocketFactory csf,
RMIServerSocketFactory ssf)
Export the activatable remote object to the RMI runtime to make the object available to receive incoming calls. |
Constructors in java.rmi.activation with parameters of type RMIClientSocketFactory | |
Activatable(String location,
MarshalledObject data,
boolean restart,
int port,
RMIClientSocketFactory csf,
RMIServerSocketFactory ssf)
Constructor used to register and export the object on a specified port (an anonymous port is chosen if port=0) . |
|
Activatable(ActivationID id,
int port,
RMIClientSocketFactory csf,
RMIServerSocketFactory ssf)
Constructor used to activate/export the object on a specified port. |
Uses of RMIClientSocketFactory in java.rmi.registry |
Methods in java.rmi.registry with parameters of type RMIClientSocketFactory | |
static Registry |
LocateRegistry.getRegistry(String host,
int port,
RMIClientSocketFactory csf)
Returns a locally created remote reference to the remote object Registry on the specified host and
port . |
static Registry |
LocateRegistry.createRegistry(int port,
RMIClientSocketFactory csf,
RMIServerSocketFactory ssf)
Creates and exports a Registry on the local host that
uses custom socket factories for communication with that registry. |
Uses of RMIClientSocketFactory in java.rmi.server |
Classes in java.rmi.server that implement RMIClientSocketFactory | |
class |
RMISocketFactory
An RMISocketFactory instance is used by the RMI runtime
in order to obtain client and server sockets for RMI calls. |
Methods in java.rmi.server with parameters of type RMIClientSocketFactory | |
static Remote |
UnicastRemoteObject.exportObject(Remote obj,
int port,
RMIClientSocketFactory csf,
RMIServerSocketFactory ssf)
Exports the remote object to make it available to receive incoming calls, using a transport specified by the given socket factory. |
Constructors in java.rmi.server with parameters of type RMIClientSocketFactory | |
UnicastRemoteObject(int port,
RMIClientSocketFactory csf,
RMIServerSocketFactory ssf)
Creates and exports a new UnicastRemoteObject object using the particular supplied port and socket factories. |
|
JavaTM 2 Platform Std. Ed. v1.4.2 |
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Copyright 2003 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.