ibis.rmi.server
Class RemoteServer

java.lang.Object
  extended byibis.rmi.server.RemoteObject
      extended byibis.rmi.server.RemoteServer
All Implemented Interfaces:
Remote, java.io.Serializable
Direct Known Subclasses:
UnicastRemoteObject

public abstract class RemoteServer
extends RemoteObject

RemoteServer is the common superclass for server implementations.

See Also:
Serialized Form

Method Summary
static java.lang.String getClientHost()
          Returns a string representation of the client host of the remote method invocation currently being processed in the current thread.
 
Methods inherited from class ibis.rmi.server.RemoteObject
equals, hashCode, toString
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Method Detail

getClientHost

public static java.lang.String getClientHost()
                                      throws ServerNotActiveException
Returns a string representation of the client host of the remote method invocation currently being processed in the current thread.

Returns:
a string representation of the client host
Throws:
ServerNotActiveException - if the current thread is not servicing a remote method invocation


The Ibis project