public interface RFICollectorService extends Remote
| Modifier and Type | Field and Description |
|---|---|
static String |
SERVICE_NAME |
| Modifier and Type | Method and Description |
|---|---|
List<String> |
listCollectors()
This method returns a list of all currently running listeners.
|
void |
registerCollector(String file,
Properties props)
This method registers a new collector instance which tracks the given
log file.
|
void |
unregisterCollector(String file)
This method stops the collector listening on the given file.
|
static final String SERVICE_NAME
void registerCollector(String file, Properties props) throws RemoteException
file - props - RemoteException - In case an error occurs such as the file does not
exist or the file-format is not supported. Since
currently only one collector can listen on a file,
an exception is also thrown if a new collector is
registered on a already observed file.void unregisterCollector(String file) throws RemoteException
file - The file on which the collector listens.RemoteException - In case an error occurs.List<String> listCollectors() throws RemoteException
RemoteException - In case an error occurs.Copyright © 2014 jwall.org. All Rights Reserved.