Package ch.qos.logback.core.net
Interface SocketConnector
- All Known Implementing Classes:
DefaultSocketConnector
Deprecated.
This internal logback API is not supported by AEM as a Cloud Service.
A
Runnable that (re)connects a socket.
An implementation of this interface is responsible for repeatedly attempting to create a socket connection to a remote host.
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic interfaceDeprecated.This internal logback API is not supported by AEM as a Cloud Service. -
Method Summary
Modifier and TypeMethodDescriptioncall()Deprecated.Blocks the calling thread until a connection is successfully established.voidsetExceptionHandler(SocketConnector.ExceptionHandler exceptionHandler) Deprecated.Sets the connector's exception handler.voidsetSocketFactory(SocketFactory socketFactory) Deprecated.Sets the connector's socket factory.
-
Method Details
-
call
Deprecated.Blocks the calling thread until a connection is successfully established.- Specified by:
callin interfaceCallable<Socket>- Returns:
- the connected socket
- Throws:
InterruptedException
-
setExceptionHandler
Deprecated.Sets the connector's exception handler.The handler must be set before the
call()method is invoked.- Parameters:
exceptionHandler- the handler to set
-
setSocketFactory
Deprecated.Sets the connector's socket factory.If no factory is configured that connector will use the platform's default factory.
- Parameters:
socketFactory- the factory to set
-