public class SocketReceiver extends ReceiverBase implements 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,
Exception ex) |
void |
run() |
void |
setAcceptConnectionTimeout(int acceptConnectionTimeout) |
void |
setPort(int port) |
void |
setReconnectionDelay(int reconnectionDelay) |
void |
setRemoteHost(String remoteHost) |
isStarted, start, stopaddError, addError, addInfo, addInfo, addStatus, addWarn, addWarn, getContext, getStatusManager, setContextpublic void connectionFailed(SocketConnector connector, Exception ex)
connectionFailed in interface SocketConnector.ExceptionHandlerpublic void setRemoteHost(String remoteHost)
public void setPort(int port)
public void setReconnectionDelay(int reconnectionDelay)
public void setAcceptConnectionTimeout(int acceptConnectionTimeout)
Copyright © 2010 - 2020 Adobe. All Rights Reserved