|
|||||||||
| Home >> All >> java >> rmi >> [ server overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.rmi.server
Class RemoteServer

java.lang.Objectjava.rmi.server.RemoteObject
java.rmi.server.RemoteServer
- All Implemented Interfaces:
- java.rmi.Remote, java.io.Serializable
- Direct Known Subclasses:
- UnicastRemoteObject
- public abstract class RemoteServer
- extends RemoteObject
A common superclass for the server implementations.
| Field Summary | |
private static long |
serialVersionUID
|
| Fields inherited from class java.rmi.server.RemoteObject |
ref |
| Constructor Summary | |
protected |
RemoteServer()
Does nothing, delegates to super(). |
protected |
RemoteServer(RemoteRef ref)
Does nothing, delegates to super(ref). |
| Method Summary | |
static java.lang.String |
getClientHost()
Get the host of the calling client. |
static java.io.PrintStream |
getLog()
Get the stream for logging RMI calls. |
static void |
setLog(java.io.OutputStream out)
Set the stream for logging RMI calls. |
| Methods inherited from class java.rmi.server.RemoteObject |
addStub, deleteStub, equals, getRef, hashCode, toString, toStub |
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
serialVersionUID
private static final long serialVersionUID
- See Also:
- Constant Field Values
| Constructor Detail |
RemoteServer
protected RemoteServer()
- Does nothing, delegates to super().
RemoteServer
protected RemoteServer(RemoteRef ref)
- Does nothing, delegates to super(ref).
| Method Detail |
getClientHost
public static java.lang.String getClientHost() throws ServerNotActiveException
- Get the host of the calling client. The current thread must be an instance
of the gnu.java.rmi.server.RMIIncomingThread.
setLog
public static void setLog(java.io.OutputStream out)
- Set the stream for logging RMI calls.
getLog
public static java.io.PrintStream getLog()
- Get the stream for logging RMI calls.
|
|||||||||
| Home >> All >> java >> rmi >> [ server overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
JAVADOC