|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjava.rmi.server.RemoteObject
java.rmi.server.RemoteServer
public abstract class RemoteServer
A common superclass for the server implementations.
| Field Summary |
|---|
| 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 String |
getClientHost()
Get the host of the calling client. |
static PrintStream |
getLog()
Get the stream for logging RMI calls. |
static void |
setLog(OutputStream out)
Set the stream for logging RMI calls. |
| Methods inherited from class java.rmi.server.RemoteObject |
|---|
equals, getRef, hashCode, toString, toStub |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
protected RemoteServer()
protected RemoteServer(RemoteRef ref)
| Method Detail |
|---|
public static String getClientHost()
throws ServerNotActiveException
RMIIncomingThread.
ServerNotActiveException - if the current thread is not an instance
of the RMIIncomingThread.public static void setLog(OutputStream out)
out - the stream to set or null to turn the logging off.public static PrintStream getLog()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||