RemoteServer class is the common superclass to server
implementations and provides the framework to support a wide range
of remote reference semantics. Specifically, the functions needed
to create and export remote objects (i.e. to make them remotely
available) are provided abstractly by RemoteServer and
concretely by its subclass(es).
| Modifier and Type | Field and Description |
|---|---|
| private static boolean | |
| private static final long |
| Access | Constructor and Description |
|---|---|
| protected | |
| protected | RemoteServer(RemoteRef
the remote reference ref)Constructs a |
| Modifier and Type | Method and Description |
|---|---|
| public static String | Returns: a string representation of the client hostReturns a string representation of the client host for the remote method invocation being processed in the current thread. |
| public static PrintStream | |
| public static void | setLog(OutputStream
the output stream to which RMI calls should be logged out)Log RMI calls to the output stream |
| logNull | back to summary |
|---|---|
| private static boolean logNull | |
| serialVersionUID | back to summary |
|---|---|
| private static final long serialVersionUID | |
| RemoteServer | back to summary |
|---|---|
| protected RemoteServer() Constructs a
| |
| RemoteServer | back to summary |
|---|---|
| protected RemoteServer(RemoteRef ref) Constructs a
| |
| getClientHost | back to summary |
|---|---|
| public static String getClientHost() throws ServerNotActiveException Returns a string representation of the client host for the remote method invocation being processed in the current thread.
| |
| getLog | back to summary |
|---|---|
| public static PrintStream getLog() Returns stream for the RMI call log.
| |
| setLog | back to summary |
|---|---|
| public static void setLog(OutputStream out) Log RMI calls to the output stream
| |