April 2002
Intermediate to advanced
992 pages
40h 18m
English
UnicastRemoteObject
This represents a non-replicated remote object., e.g., one that lives as a singular implementation on a server, with point-to-point connections to each client. through reference stubs. This remote server class does not implement persistence, so client references to the object are only valid during the lifetime of the object.
public class UnicastRemoteObject extends RemoteServer {
// Protected Constructors
protected UnicastRemoteObject() throws RemoteException;
protected UnicastRemoteObject( // 1.2
int port) throws RemoteException;
protected UnicastRemoteObject(int port, // 1.2
RMIClientSocketFactory csf,
RMIServerSocketFactory ssf) throws RemoteException;
// Public Class Methods
public static RemoteStub exportObject(
Remote obj) throws RemoteException;
public static Remote exportObject(Remote obj, // 1.2
int port) throws RemoteException;
public static Remote exportObject(Remote obj, int port, // 1.2
RMIClientSocketFactory csf,
RMIServerSocketFactory ssf) throws RemoteException;
public static boolean unexportObject(Remote obj, // 1.2
boolean force) throws NoSuchObjectException;
// Public Methods Overriding Object
public Object clone() throws CloneNotSupportedException;
}
java.rmi.activation.ActivationGroup
Read now
Unlock full access