de.qfs.lib.logrmi
Interface LogListener
- All Superinterfaces:
- java.rmi.Remote
- All Known Implementing Classes:
- LogListenerImplBase
- public interface LogListener
- extends java.rmi.Remote
A LogListener waits for calls from clients that dump their
LogEntries into the LogServer.
- Version:
- $Revision: 1.1 $
- Author:
- Gregor Schmid
Method Summary |
void |
disconnect()
End the connection with the LogListener. |
void |
log(LogEntry entry)
Accept a log message. |
void |
log(LogEntry[] entries)
Accept many log messages. |
log
public void log(LogEntry entry)
throws java.rmi.RemoteException
- Accept a log message.
- Parameters:
entry
- The LogEntry that holds the message details.- Throws:
java.rmi.RemoteException
- If something RMI specific goes wrong.
log
public void log(LogEntry[] entries)
throws java.rmi.RemoteException
- Accept many log messages.
- Parameters:
entries
- A LogEntry array that holds the message details.- Throws:
java.rmi.RemoteException
- If something RMI specific goes wrong.
disconnect
public void disconnect()
throws java.rmi.RemoteException
- End the connection with the LogListener.
- Throws:
java.rmi.RemoteException
- If something RMI specific goes wrong.