akka.io
Interface Inet.SocketOption

All Known Implementing Classes:
Inet.SO$.ReceiveBufferSize, Inet.SO$.ReuseAddress, Inet.SO$.SendBufferSize, Inet.SO$.TrafficClass, Tcp.SO$.KeepAlive, Tcp.SO$.OOBInline, Tcp.SO$.TcpNoDelay, Udp.SO$.Broadcast
Enclosing class:
Inet

public static interface Inet.SocketOption

SocketOption is a package of data (from the user) and associated behavior (how to apply that to a socket).


Method Summary
 void afterConnect(java.net.Socket s)
          Action to be taken for this option after connect returned (i.e.
 void beforeConnect(java.net.Socket s)
          Action to be taken for this option before calling connect()
 void beforeDatagramBind(java.net.DatagramSocket ds)
           
 void beforeServerSocketBind(java.net.ServerSocket ss)
           
 

Method Detail

beforeDatagramBind

void beforeDatagramBind(java.net.DatagramSocket ds)

beforeServerSocketBind

void beforeServerSocketBind(java.net.ServerSocket ss)

beforeConnect

void beforeConnect(java.net.Socket s)
Action to be taken for this option before calling connect()

Parameters:
s - (undocumented)

afterConnect

void afterConnect(java.net.Socket s)
Action to be taken for this option after connect returned (i.e. on the slave socket for servers).

Parameters:
s - (undocumented)