ibis.rmi.server
Class RemoteServer

java.lang.Object
  extended by ibis.rmi.server.RemoteObject
      extended by ibis.rmi.server.RemoteServer
All Implemented Interfaces:
Remote, 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 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 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