Name

RemoteServer

Synopsis

This class acts as an abstract base class for all remote object server implementations. The intent is for sub-classes to implement the semantics of the remote object (e.g. multicast remote objects, replicated objects). In the current version of RMI, the only concrete sub-class provided is UnicastRemoteServer, which implements a non-replicated remote object.

The getClientHost() method returns the name of the host for the client being served in the current thread. The getLog() and setLog() methods access the call log for this RemoteServer.

                  Type Of
public abstract class RemoteServer extends RemoteObject {
// Protected Constructors
   protected RemoteServer();  
   protected RemoteServer( RemoteRef ref);  
// Public Class Methods
   public static String getClientHost(
        ) throws ServerNotActiveException;  
   public static PrintStream getLog();  
   public static void setLog( java.io.OutputStream out);  
}

Subclasses

java.rmi.activation.Activatable, UnicastRemoteObject

Get Java Enterprise in a Nutshell, Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.