Uses of Interface
org.jboss.logmanager.handlers.ClientSocketFactory
-
Packages that use ClientSocketFactory Package Description org.jboss.logmanager.handlers -
-
Uses of ClientSocketFactory in org.jboss.logmanager.handlers
Methods in org.jboss.logmanager.handlers that return ClientSocketFactory Modifier and Type Method Description static ClientSocketFactoryClientSocketFactory. of(java.net.InetAddress address, int port)Creates a new default implementation of the factory which usesSocketFactory.getDefault()for TCP sockets andnew DatagramSocket()for UDP sockets.static ClientSocketFactoryClientSocketFactory. 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 andnew DatagramSocket()for UDP sockets.Methods in org.jboss.logmanager.handlers with parameters of type ClientSocketFactory Modifier and Type Method Description voidSocketHandler. setClientSocketFactory(ClientSocketFactory clientSocketFactory)Sets the client socket factory used to create sockets.voidSyslogHandler. setClientSocketFactory(ClientSocketFactory clientSocketFactory)Sets the client socket factory used to create sockets.Constructors in org.jboss.logmanager.handlers with parameters of type ClientSocketFactory Constructor Description SocketHandler(ClientSocketFactory clientSocketFactory, SocketHandler.Protocol protocol)Creates a socket handler.TcpOutputStream(ClientSocketFactory socketFactory, boolean blockOnReconnect)Creates a new TCP stream which uses thecreateSocket()to create the socket.UdpOutputStream(ClientSocketFactory socketManager)
-