public class SocketReceiver extends ReceiverBase implements java.lang.Runnable, SocketConnector.ExceptionHandler
ILoggingEvent
objects from a
remote appender over a Socket
.Constructor and Description |
---|
SocketReceiver() |
Modifier and Type | Method and Description |
---|---|
void |
connectionFailed(SocketConnector connector,
java.lang.Exception ex) |
void |
run() |
void |
setAcceptConnectionTimeout(int acceptConnectionTimeout) |
void |
setPort(int port) |
void |
setReconnectionDelay(int reconnectionDelay) |
void |
setRemoteHost(java.lang.String remoteHost) |
isStarted, start, stop
addError, addError, addInfo, addInfo, addStatus, addWarn, addWarn, getContext, getStatusManager, setContext
public void run()
run
in interface java.lang.Runnable
public void connectionFailed(SocketConnector connector, java.lang.Exception ex)
connectionFailed
in interface SocketConnector.ExceptionHandler
public void setRemoteHost(java.lang.String remoteHost)
public void setPort(int port)
public void setReconnectionDelay(int reconnectionDelay)
public void setAcceptConnectionTimeout(int acceptConnectionTimeout)
Copyright © 2010 - 2020 Adobe. All Rights Reserved