public class InstrumentedServerSocketAppenderBase extends AbstractServerSocketAppender<Serializable>
AbstractServerSocketAppender
with instrumentation for unit testing.DEFAULT_BACKLOG, DEFAULT_CLIENT_QUEUE_SIZE
name, started
context
Constructor and Description |
---|
InstrumentedServerSocketAppenderBase(ServerSocket serverSocket) |
InstrumentedServerSocketAppenderBase(ServerSocket serverSocket,
ServerListener<ch.qos.logback.core.net.server.RemoteReceiverClient> listener,
ServerRunner<ch.qos.logback.core.net.server.RemoteReceiverClient> runner) |
Modifier and Type | Method and Description |
---|---|
protected ServerListener<ch.qos.logback.core.net.server.RemoteReceiverClient> |
createServerListener(ServerSocket socket) |
protected ServerRunner<ch.qos.logback.core.net.server.RemoteReceiverClient> |
createServerRunner(ServerListener<ch.qos.logback.core.net.server.RemoteReceiverClient> listener,
Executor executor) |
ServerListener |
getLastListener() |
protected PreSerializationTransformer<Serializable> |
getPST() |
protected ServerSocketFactory |
getServerSocketFactory() |
protected void |
postProcessEvent(Serializable event) |
append, getAddress, getBacklog, getClientQueueSize, getInetAddress, getPort, setAddress, setBacklog, setClientQueueSize, setPort, start, stop
addFilter, clearAllFilters, doAppend, getCopyOfAttachedFiltersList, getFilterChainDecision, getName, isStarted, setName, toString
addError, addError, addInfo, addInfo, addStatus, addWarn, addWarn, getContext, getDeclaredOrigin, getStatusManager, setContext
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
addError, addError, addInfo, addInfo, addStatus, addWarn, addWarn, getContext, setContext
public InstrumentedServerSocketAppenderBase(ServerSocket serverSocket)
public InstrumentedServerSocketAppenderBase(ServerSocket serverSocket, ServerListener<ch.qos.logback.core.net.server.RemoteReceiverClient> listener, ServerRunner<ch.qos.logback.core.net.server.RemoteReceiverClient> runner)
protected void postProcessEvent(Serializable event)
postProcessEvent
in class AbstractServerSocketAppender<Serializable>
protected PreSerializationTransformer<Serializable> getPST()
getPST
in class AbstractServerSocketAppender<Serializable>
protected ServerSocketFactory getServerSocketFactory() throws Exception
getServerSocketFactory
in class AbstractServerSocketAppender<Serializable>
Exception
protected ServerRunner<ch.qos.logback.core.net.server.RemoteReceiverClient> createServerRunner(ServerListener<ch.qos.logback.core.net.server.RemoteReceiverClient> listener, Executor executor)
createServerRunner
in class AbstractServerSocketAppender<Serializable>
protected ServerListener<ch.qos.logback.core.net.server.RemoteReceiverClient> createServerListener(ServerSocket socket)
createServerListener
in class AbstractServerSocketAppender<Serializable>
public ServerListener getLastListener()
Copyright © 2005–2018 QOS.ch. All rights reserved.