KeepAlive

final case class KeepAlive(on: Boolean) extends SocketOption

akka.io.Inet.SocketOption to enable or disable SO_KEEPALIVE

For more information see java.net.Socket.setKeepAlive

Source:
Tcp.scala
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any

Value members

Concrete methods

override def afterConnect(s: Socket): Unit
Definition Classes
Source:
Tcp.scala

Inherited methods

def beforeConnect(@unused s: Socket): Unit

Action to be taken for this option before calling connect()

Action to be taken for this option before calling connect()

Inherited from:
SocketOption
Source:
Inet.scala
def beforeDatagramBind(@unused ds: DatagramSocket): Unit

Action to be taken for this option before bind() is called

Action to be taken for this option before bind() is called

Inherited from:
SocketOption
Source:
Inet.scala
def beforeServerSocketBind(@unused ss: ServerSocket): Unit

Action to be taken for this option before bind() is called

Action to be taken for this option before bind() is called

Inherited from:
SocketOption
Source:
Inet.scala
Inherited from:
Product