|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.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.TLSSocketManager
public class TLSSocketManager
Nested Class Summary |
---|
Nested classes/interfaces inherited from class org.apache.logging.log4j.core.net.TCPSocketManager |
---|
TCPSocketManager.TCPSocketManagerFactory |
Field Summary | |
---|---|
static int |
DEFAULT_PORT
|
Fields inherited from class org.apache.logging.log4j.core.net.TCPSocketManager |
---|
DEFAULT_RECONNECTION_DELAY |
Fields inherited from class org.apache.logging.log4j.core.net.AbstractSocketManager |
---|
address, host, port |
Fields inherited from class org.apache.logging.log4j.core.appender.AbstractManager |
---|
count, LOGGER |
Constructor Summary | |
---|---|
TLSSocketManager(String name,
OutputStream os,
Socket sock,
SSLConfiguration sslConfig,
InetAddress addr,
String host,
int port,
int delay,
boolean immediateFail,
Layout layout)
|
Method Summary | |
---|---|
protected Socket |
createSocket(String host,
int port)
|
static TLSSocketManager |
getSocketManager(SSLConfiguration sslConfig,
String host,
int port,
int delay,
boolean immediateFail,
Layout layout)
|
Methods inherited from class org.apache.logging.log4j.core.net.TCPSocketManager |
---|
close, createSocket, getContentFormat, getSocketManager, write |
Methods inherited from class org.apache.logging.log4j.core.appender.OutputStreamManager |
---|
flush, getManager, getOutputStream, isOpen, releaseSub, setOutputStream, write |
Methods inherited from class org.apache.logging.log4j.core.appender.AbstractManager |
---|
getCount, getName, hasManager, release |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final int DEFAULT_PORT
Constructor Detail |
---|
public TLSSocketManager(String name, OutputStream os, Socket sock, SSLConfiguration sslConfig, InetAddress addr, String host, int port, int delay, boolean immediateFail, Layout layout)
name
- The unique name of this connection.os
- The OutputStream.sock
- The Socket.addr
- The internet address of the host.host
- The name of the host.port
- The port number on the host.delay
- Reconnection interval.immediateFail
- layout
- The Layout.Method Detail |
---|
public static TLSSocketManager getSocketManager(SSLConfiguration sslConfig, String host, int port, int delay, boolean immediateFail, Layout layout)
protected Socket createSocket(String host, int port) throws IOException
createSocket
in class TCPSocketManager
IOException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright © 1999-2013 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.