com.protomatter.syslog
Class RemoteLogReceiverImpl
java.lang.Object
|
+--com.protomatter.syslog.RemoteLogReceiverImpl
- All Implemented Interfaces:
- java.rmi.Remote, RemoteLogReceiver
- public class RemoteLogReceiverImpl
- extends java.lang.Object
- implements RemoteLogReceiver
A simple implementation of the RemoteLogReceiver
interface. This object is used by the
SyslogServer
class if it is listening
to remote messages (not messages from a JMS topic, though).
Before this will work, however, you must run the
rmic program supplied with your application server
before it will work.
Method Summary |
void |
log(java.lang.String ipAddress,
java.lang.String loggerClass,
java.lang.String channel,
java.lang.String message,
java.lang.Object detail,
int level,
java.lang.String threadName,
long messageSendTime)
Remote log receiver callback. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RemoteLogReceiverImpl
public RemoteLogReceiverImpl()
- Default constructor.
log
public void log(java.lang.String ipAddress,
java.lang.String loggerClass,
java.lang.String channel,
java.lang.String message,
java.lang.Object detail,
int level,
java.lang.String threadName,
long messageSendTime)
- Remote log receiver callback. This method just sends the
message into the "local" Syslog for processing.
- Specified by:
log
in interface RemoteLogReceiver