JavaScript is disabled on your browser.
Nested Class Summary
Nested Classes
private static class
private static class
Constructor Summary
Constructors
SslSocketManager (String name,
OutputStream os,
Socket sock,
SslConfiguration sslConfig,
InetAddress inetAddress,
String host,
int port,
int connectTimeoutMillis,
int reconnectionDelayMillis,
boolean immediateFail,
Layout <? extends Serializable > layout,
int bufferSize)
SslSocketManager (String name,
OutputStream os,
Socket sock,
SslConfiguration sslConfig,
InetAddress inetAddress,
String host,
int port,
int connectTimeoutMillis,
int reconnectionDelayMillis,
boolean immediateFail,
Layout <? extends Serializable > layout,
int bufferSize,
SocketOptions socketOptions)
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods
Returns an
SNIHostName instance if the provided host name is not an IP literal (RFC 6066), and constitutes a valid host name (RFC 1035); null otherwise.
Creates a unique identifier using the certificate issuers and serial numbers of the given SSL configuration.
Methods inherited from class org.apache.logging.log4j.core.net.TcpSocketManager
closeOutputStream , createSocket , getConnectTimeoutMillis , getContentFormat , getReconnectionDelayMillis , getSocket , getSocketManager , getSocketManager , getSocketOptions , setHostResolver , toString , write
Methods inherited from class org.apache.logging.log4j.core.appender.OutputStreamManager
createOutputStream , drain , flush , flushBuffer , flushDestination , getByteBuffer , getManager , getOutputStream , hasOutputStream , isOpen , releaseSub , setOutputStream , skipFooter , write , write , write , writeBytes , writeBytes , writeFooter , writeHeader , writeToDestination
Methods inherited from class org.apache.logging.log4j.core.appender.AbstractManager
close , getCount , getLoggerContext , getManager , getName , getStrSubstitutor , hasManager , log , logDebug , logError , logger , logWarn , narrow , release , stop , updateData
Field Details
DEFAULT_PORT
public static final int DEFAULT_PORT
See Also:
Constructor Details
SslSocketManager
@Deprecated
public SslSocketManager (String name,
OutputStream os,
Socket sock,
SslConfiguration sslConfig,
InetAddress inetAddress,
String host,
int port,
int connectTimeoutMillis,
int reconnectionDelayMillis,
boolean immediateFail,
Layout <? extends Serializable > layout,
int bufferSize)
Deprecated.
Parameters:
name - the unique name of this connection
os - the OutputStream
sock - the Socket
inetAddress - the Internet address of the host
host - the name of the host
port - the port number on the host
connectTimeoutMillis - the connect timeout in milliseconds
reconnectionDelayMillis - Reconnection interval.
immediateFail - True if the write should fail if no socket is immediately available.
layout - the Layout
bufferSize - The buffer size.
SslSocketManager
public SslSocketManager (String name,
OutputStream os,
Socket sock,
SslConfiguration sslConfig,
InetAddress inetAddress,
String host,
int port,
int connectTimeoutMillis,
int reconnectionDelayMillis,
boolean immediateFail,
Layout <? extends Serializable > layout,
int bufferSize,
SocketOptions socketOptions)
Parameters:
name - The unique name of this connection.
os - The OutputStream.
sock - The Socket.
inetAddress - The Internet address of the host.
host - The name of the host.
port - The port number on the host.
connectTimeoutMillis - the connect timeout in milliseconds.
reconnectionDelayMillis - Reconnection interval.
immediateFail - True if the write should fail if no socket is immediately available.
layout - The Layout.
bufferSize - The buffer size.
Method Details
getSocketManager
Deprecated.
createSslConfigurationId
Creates a unique identifier using the certificate issuers and serial numbers of the given SSL configuration.
Parameters:
sslConfig - an SSL configuration
Returns:
a unique identifier extracted from the given SSL configuration
createSniHostName
Returns an
SNIHostName instance if the provided host name is not an IP literal (RFC 6066), and constitutes a valid host name (RFC 1035); null otherwise.
Parameters:
hostName - a host name
Returns:
an SNIHostName instance if the provided host name is not an IP literal (RFC 6066), and constitutes a valid host name (RFC 1035); null otherwise
See Also:
SslSocketManager(String, OutputStream, Socket, SslConfiguration, InetAddress, String, int, int, int, boolean, Layout, int, SocketOptions).