org.apache.logging.log4j.core.net
Class SslSocketManager
java.lang.Object
org.apache.logging.log4j.core.appender.AbstractManager
org.apache.logging.log4j.core.appender.OutputStreamManager
org.apache.logging.log4j.core.net.AbstractSocketManager
org.apache.logging.log4j.core.net.TcpSocketManager
org.apache.logging.log4j.core.net.SslSocketManager
public class SslSocketManager
- extends TcpSocketManager
Constructor Summary |
SslSocketManager(String name,
OutputStream os,
Socket sock,
SslConfiguration sslConfig,
InetAddress inetAddress,
String host,
int port,
int connectTimeoutMillis,
int delay,
boolean immediateFail,
Layout<? extends Serializable> layout)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DEFAULT_PORT
public static final int DEFAULT_PORT
- See Also:
- Constant Field Values
SslSocketManager
public SslSocketManager(String name,
OutputStream os,
Socket sock,
SslConfiguration sslConfig,
InetAddress inetAddress,
String host,
int port,
int connectTimeoutMillis,
int delay,
boolean immediateFail,
Layout<? extends Serializable> layout)
- 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.delay
- Reconnection interval.immediateFail
- layout
- The Layout.
getSocketManager
public static SslSocketManager getSocketManager(SslConfiguration sslConfig,
String host,
int port,
int connectTimeoutMillis,
int delayMillis,
boolean immediateFail,
Layout<? extends Serializable> layout)
createSocket
protected Socket createSocket(String host,
int port)
throws IOException
- Overrides:
createSocket
in class TcpSocketManager
- Throws:
IOException
Copyright © 1999-2015 Apache Software Foundation. All Rights Reserved.
Apache Logging, Apache Log4j, Log4j, Apache, the Apache feather logo, the Apache Logging project logo, and the Apache Log4j logo are trademarks of The Apache Software Foundation.