de.qfs.lib.logrmi
Interface LogClient
- All Superinterfaces:
- java.rmi.Remote
- All Known Implementing Classes:
- LogClientImplBase
- public interface LogClient
- extends java.rmi.Remote
This interface must be implemented by LogServer clients that wish to
register themselves in the RMI registry and connected to a LogServer once
it starts up.
- Version:
- $Revision: 1.1 $
- Author:
- Gregor Schmid
Field Summary |
static java.lang.String |
REGISTRY_BASE_NAME
LogClients should register themselves under a name that starts with
this string. |
Method Summary |
void |
connect(LogServer server)
Tell the LogClient that it should disengage from the registry and
connect itself to a LogServer. |
REGISTRY_BASE_NAME
public static final java.lang.String REGISTRY_BASE_NAME
- LogClients should register themselves under a name that starts with
this string.
connect
public void connect(LogServer server)
throws java.rmi.RemoteException
- Tell the LogClient that it should disengage from the registry and
connect itself to a LogServer.
- Parameters:
server
- The LogServer to connect to.- Throws:
java.rmi.RemoteException
- If something RMI specific goes wrong.