Method Summary |
|
protected void | addActiveCall() Increase the number of active calls by one. |
public static String | getClientHost() Returns the string representation of the client's host for RMI calls
which are processed in the current thread (this method is intended to be
called by RemoteServer.getClientHost() method). |
public Endpoint | getEndpoint() Returns server's endpoint. |
public static synchronized ServerConnectionManager | getMgr(Endpoint ep) Returns ServerConnectionManager corresponding to the given ep. |
public boolean | hasActiveCalls() Returns true if there are in-progress calls to remote objects
associated with this manager. |
protected void | removeActiveCall() Decrease the number of active calls by one. |
public void | run() Starts waiting for incoming remote calls. |
public void | stopConnection(ServerConnection conn) Stops specified connection with remote client: closes opened Socket,
stops appropriate thread and removes this connection from the list of
active connections. |