public class SslSocketManager extends TcpSocketManager
TcpSocketManager.TcpSocketManagerFactory| Modifier and Type | Field and Description |
|---|---|
static int |
DEFAULT_PORT |
DEFAULT_RECONNECTION_DELAY_MILLIShost, inetAddress, portbyteBuffer, layoutcount, LOGGER| Constructor and Description |
|---|
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,
int bufferSize) |
| Modifier and Type | Method and Description |
|---|---|
protected Socket |
createSocket(String host,
int port) |
static SslSocketManager |
getSocketManager(SslConfiguration sslConfig,
String host,
int port,
int connectTimeoutMillis,
int reconnectDelayMillis,
boolean immediateFail,
Layout<? extends Serializable> layout,
int bufferSize) |
closeOutputStream, createSocket, getConnectTimeoutMillis, getContentFormat, getSocketManager, writecreateOutputStream, drain, flush, flushBuffer, flushDestination, getByteBuffer, getManager, getOutputStream, isOpen, releaseSub, setOutputStream, skipFooter, write, write, write, writeFooter, writeToDestinationclose, getCount, getLoggerContext, getName, hasManager, log, logDebug, logError, logWarn, release, stop, updateDatapublic static final int DEFAULT_PORT
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, int bufferSize)
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.bufferSize - The buffer size.public static SslSocketManager getSocketManager(SslConfiguration sslConfig, String host, int port, int connectTimeoutMillis, int reconnectDelayMillis, boolean immediateFail, Layout<? extends Serializable> layout, int bufferSize)
protected Socket createSocket(String host, int port) throws IOException
createSocket in class TcpSocketManagerIOExceptionCopyright © 1999-2016 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.