Package ch.qos.logback.core.net.server
Class AbstractServerSocketAppender<E>
- java.lang.Object
-
- ch.qos.logback.core.spi.ContextAwareBase
-
- ch.qos.logback.core.AppenderBase<E>
-
- ch.qos.logback.core.net.server.AbstractServerSocketAppender<E>
-
- All Implemented Interfaces:
Appender<E>,ContextAware,FilterAttachable<E>,LifeCycle
- Direct Known Subclasses:
ServerSocketAppender,SSLServerSocketAppenderBase
@Deprecated(since="2022-01-27") public abstract class AbstractServerSocketAppender<E> extends AppenderBase<E>
Deprecated.This internal logback API is not supported by AEM as a Cloud Service.This is the super class for module specific ServerSocketAppender implementations can derive from.
-
-
Field Summary
Fields Modifier and Type Field Description static intDEFAULT_BACKLOGDeprecated.DefaultServerSocketbacklogstatic intDEFAULT_CLIENT_QUEUE_SIZEDeprecated.Default queue size used for each client
-
Constructor Summary
Constructors Constructor Description AbstractServerSocketAppender()Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description java.lang.StringgetAddress()Deprecated.Gets the local address for the listener.intgetBacklog()Deprecated.Gets the listener queue depth.intgetClientQueueSize()Deprecated.Gets the event queue size used for each client connection.intgetPort()Deprecated.Gets the local port for the listener.voidsetAddress(java.lang.String address)Deprecated.Sets the local address for the listener.voidsetBacklog(int backlog)Deprecated.Sets the listener queue depth.voidsetClientQueueSize(int clientQueueSize)Deprecated.Sets the event queue size used for each client connection.voidsetPort(int port)Deprecated.Sets the local port for the listener.voidstart()Deprecated.voidstop()Deprecated.-
Methods inherited from class ch.qos.logback.core.AppenderBase
addFilter, clearAllFilters, doAppend, getCopyOfAttachedFiltersList, getFilterChainDecision, getName, isStarted, setName, toString
-
Methods inherited from class ch.qos.logback.core.spi.ContextAwareBase
addError, addError, addInfo, addInfo, addStatus, addWarn, addWarn, getContext, getStatusManager, setContext
-
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface ch.qos.logback.core.spi.ContextAware
addError, addError, addInfo, addInfo, addStatus, addWarn, addWarn, getContext, setContext
-
-
-
-
Field Detail
-
DEFAULT_BACKLOG
public static final int DEFAULT_BACKLOG
Deprecated.DefaultServerSocketbacklog- See Also:
- Constant Field Values
-
DEFAULT_CLIENT_QUEUE_SIZE
public static final int DEFAULT_CLIENT_QUEUE_SIZE
Deprecated.Default queue size used for each client- See Also:
- Constant Field Values
-
-
Method Detail
-
start
public void start()
Deprecated.- Specified by:
startin interfaceLifeCycle- Overrides:
startin classAppenderBase<E>
-
stop
public void stop()
Deprecated.- Specified by:
stopin interfaceLifeCycle- Overrides:
stopin classAppenderBase<E>
-
getPort
public int getPort()
Deprecated.Gets the local port for the listener.- Returns:
- local port
-
setPort
public void setPort(int port)
Deprecated.Sets the local port for the listener.- Parameters:
port- the local port to set
-
getBacklog
public int getBacklog()
Deprecated.Gets the listener queue depth.This represents the number of connected clients whose connections have not yet been accepted.
- Returns:
- queue depth
- See Also:
ServerSocket
-
setBacklog
public void setBacklog(int backlog)
Deprecated.Sets the listener queue depth.This represents the number of connected clients whose connections have not yet been accepted.
- Parameters:
backlog- the queue depth to set- See Also:
ServerSocket
-
getAddress
public java.lang.String getAddress()
Deprecated.Gets the local address for the listener.- Returns:
- a string representation of the local address
-
setAddress
public void setAddress(java.lang.String address)
Deprecated.Sets the local address for the listener.- Parameters:
address- a host name or a string representation of an IP address
-
getClientQueueSize
public int getClientQueueSize()
Deprecated.Gets the event queue size used for each client connection.- Returns:
- queue size
-
setClientQueueSize
public void setClientQueueSize(int clientQueueSize)
Deprecated.Sets the event queue size used for each client connection.- Parameters:
clientQueueSize- the queue size to set
-
-