Package | Description |
---|---|
org.jboss.logmanager.handlers |
Modifier and Type | Method and Description |
---|---|
static ClientSocketFactory |
ClientSocketFactory.of(InetAddress address,
int port)
Creates a new default implementation of the factory which uses
SocketFactory.getDefault() for TCP
sockets and new DatagramSocket() for UDP sockets. |
static ClientSocketFactory |
ClientSocketFactory.of(SocketFactory socketFactory,
InetAddress address,
int port)
Creates a new default implementation of the factory which uses the provided
socket factory to create TCP connections and
new DatagramSocket() for UDP sockets. |
Modifier and Type | Method and Description |
---|---|
void |
SocketHandler.setClientSocketFactory(ClientSocketFactory clientSocketFactory)
Sets the client socket factory used to create sockets.
|
void |
SyslogHandler.setClientSocketFactory(ClientSocketFactory clientSocketFactory)
Sets the client socket factory used to create sockets.
|
Constructor and Description |
---|
SocketHandler(ClientSocketFactory clientSocketFactory,
SocketHandler.Protocol protocol)
Creates a socket handler.
|
TcpOutputStream(ClientSocketFactory socketFactory,
boolean blockOnReconnect)
Creates a new TCP stream which uses the
createSocket() to create the socket. |
UdpOutputStream(ClientSocketFactory socketManager) |
Copyright © 2020 JBoss by Red Hat. All rights reserved.