Package | Description |
---|---|
org.jboss.logmanager.handlers |
Modifier and Type | Method | Description |
---|---|---|
static ClientSocketFactory |
ClientSocketFactory.of(java.net.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(javax.net.SocketFactory socketFactory,
java.net.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 | 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 | 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 © 2018. All rights reserved.