Package akka.io

Class TcpSO$

    • Field Summary

      Fields 
      Modifier and Type Field Description
      static TcpSO$ MODULE$
      Static reference to the singleton instance of this Scala object.
    • Constructor Summary

      Constructors 
      Constructor Description
      TcpSO$()  
    • Field Detail

      • MODULE$

        public static final TcpSO$ MODULE$
        Static reference to the singleton instance of this Scala object.
    • Constructor Detail

      • TcpSO$

        public TcpSO$()
    • Method Detail

      • keepAlive

        public akka.io.Tcp.SO.KeepAlive keepAlive​(boolean on)
      • oobInline

        public akka.io.Tcp.SO.OOBInline oobInline​(boolean on)
        Inet.SocketOption to enable or disable OOBINLINE (receipt of TCP urgent data) By default, this option is disabled and TCP urgent data is silently discarded.

        For more information see java.net.Socket.setOOBInline

        Parameters:
        on - (undocumented)
        Returns:
        (undocumented)
      • tcpNoDelay

        public akka.io.Tcp.SO.TcpNoDelay tcpNoDelay​(boolean on)
        Inet.SocketOption to enable or disable TCP_NODELAY (disable or enable Nagle's algorithm)

        Please note, that TCP_NODELAY is enabled by default.

        For more information see java.net.Socket.setTcpNoDelay

        Parameters:
        on - (undocumented)
        Returns:
        (undocumented)