public class VerboseLogMonitor extends ErrorLogMonitor
| Constructor and Description |
|---|
VerboseLogMonitor() |
| Modifier and Type | Method and Description |
|---|---|
void |
onConfigured(java.lang.String contentType,
java.lang.String contentEncoding)
Called when
LogController is set up and ready to work. |
void |
onEncoded(byte[] in,
byte[] out)
Called when HTTP message content has been encoded.
|
void |
onWorkerThreadExit(boolean isSoft)
Called when worker thread exits.
|
void |
send(byte[] message)
Called before sending given data to HTTP server.
|
void |
sendOk(int status)
Called on HTTP server response with good status.
|
onException, sendErrclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitlogError, logInfopublic void onConfigured(java.lang.String contentType,
java.lang.String contentEncoding)
ILogMonitorLogController is set up and ready to work.onConfigured in interface ILogMonitoronConfigured in class ErrorLogMonitorcontentType - Content type used by ILogCollector.contentEncoding - Content encoding used by ILogEncoder.public void onEncoded(byte[] in,
byte[] out)
ILogMonitoronEncoded in interface ILogMonitoronEncoded in class ErrorLogMonitorin - Data before encoding.out - Data after encoding.public void send(byte[] message)
ILogMonitorsend in interface ILogMonitorsend in class ErrorLogMonitormessage - Data reference.public void sendOk(int status)
ILogMonitorsendOk in interface ILogMonitorsendOk in class ErrorLogMonitorstatus - HTTP status.public void onWorkerThreadExit(boolean isSoft)
ILogMonitoronWorkerThreadExit in interface ILogMonitoronWorkerThreadExit in class ErrorLogMonitorisSoft - Tells whether worker thread has exited without interrupting.