Uses of Interface
org.jboss.logmanager.handlers.ClientSocketFactory
Packages that use ClientSocketFactory
-
Uses of ClientSocketFactory in org.jboss.logmanager.handlers
Methods in org.jboss.logmanager.handlers that return ClientSocketFactoryModifier and TypeMethodDescriptionstatic ClientSocketFactoryClientSocketFactory.of(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(SocketFactory socketFactory, 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 ClientSocketFactoryModifier and TypeMethodDescriptionvoidSocketHandler.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 ClientSocketFactoryModifierConstructorDescriptionSocketHandler(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)