Class TcpKeepAliveSocketFactory

java.lang.Object
javax.net.SocketFactory
org.graylog2.shared.bindings.providers.TcpKeepAliveSocketFactory

public class TcpKeepAliveSocketFactory extends SocketFactory
This socket factory wrapper sets the SO_KEEPALIVE flag for every created socket. The timeouts for the socket depend on the configuration of the underlying operating system. See configure(Socket).