akka.io
Class Tcp.SO$.KeepAlive

java.lang.Object
  extended by akka.io.Tcp.SO$.KeepAlive
All Implemented Interfaces:
Inet.SocketOption, java.io.Serializable, scala.Equals, scala.Product
Enclosing class:
Tcp.SO$

public class Tcp.SO$.KeepAlive
extends java.lang.Object
implements Inet.SocketOption, scala.Product, scala.Serializable

Inet.SocketOption to enable or disable SO_KEEPALIVE

For more information see java.net.Socket.setKeepAlive

See Also:
Serialized Form

Constructor Summary
Tcp.SO$.KeepAlive(boolean on)
           
 
Method Summary
 void afterConnect(java.net.Socket s)
          Action to be taken for this option after connect returned (i.e.
 boolean on()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface akka.io.Inet.SocketOption
beforeConnect, beforeDatagramBind, beforeServerSocketBind
 
Methods inherited from interface scala.Product
productArity, productElement, productIterator, productPrefix
 
Methods inherited from interface scala.Equals
canEqual, equals
 

Constructor Detail

Tcp.SO$.KeepAlive

public Tcp.SO$.KeepAlive(boolean on)
Method Detail

on

public boolean on()

afterConnect

public void afterConnect(java.net.Socket s)
Description copied from interface: Inet.SocketOption
Action to be taken for this option after connect returned (i.e. on the slave socket for servers).

Specified by:
afterConnect in interface Inet.SocketOption
Parameters:
s - (undocumented)