Package | Description |
---|---|
org.apache.logging.log4j.core.appender |
Log4j 2 Appenders.
|
org.apache.logging.log4j.core.net |
Log4j 2 network support.
|
Modifier and Type | Method and Description |
---|---|
SocketOptions |
SocketAppender.AbstractBuilder.getSocketOptions() |
Modifier and Type | Method and Description |
---|---|
protected static AbstractSocketManager |
SocketAppender.createSocketManager(String name,
Protocol protocol,
String host,
int port,
int connectTimeoutMillis,
SslConfiguration sslConfig,
int reconnectDelayMillis,
boolean immediateFail,
Layout<? extends Serializable> layout,
int bufferSize,
SocketOptions socketOptions)
Creates an AbstractSocketManager for TCP, UDP, and SSL.
|
B |
SocketAppender.AbstractBuilder.withSocketOptions(SocketOptions socketOptions) |
Modifier and Type | Method and Description |
---|---|
SocketOptions |
SocketOptions.build() |
SocketOptions |
TcpSocketManager.getSocketOptions()
USE AT YOUR OWN RISK, method is public for testing purpose only for now.
|
static SocketOptions |
SocketOptions.newBuilder() |
Modifier and Type | Method and Description |
---|---|
static SslSocketManager |
SslSocketManager.getSocketManager(SslConfiguration sslConfig,
String host,
int port,
int connectTimeoutMillis,
int reconnectDelayMillis,
boolean immediateFail,
Layout<? extends Serializable> layout,
int bufferSize,
SocketOptions socketOptions) |
static TcpSocketManager |
TcpSocketManager.getSocketManager(String host,
int port,
int connectTimeoutMillis,
int reconnectDelayMillis,
boolean immediateFail,
Layout<? extends Serializable> layout,
int bufferSize,
SocketOptions socketOptions)
Obtains a TcpSocketManager.
|
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,
SocketOptions socketOptions) |
TcpSocketManager(String name,
OutputStream os,
Socket socket,
InetAddress inetAddress,
String host,
int port,
int connectTimeoutMillis,
int delay,
boolean immediateFail,
Layout<? extends Serializable> layout,
int bufferSize,
SocketOptions socketOptions)
Constructs.
|
Copyright © 1999-2017 The 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.