Package akka.io
Interface Inet.SocketOption
-
- All Known Subinterfaces:
Inet.SocketOptionV2
- All Known Implementing Classes:
Inet.AbstractSocketOption,Inet.AbstractSocketOptionV2,Inet.DatagramChannelCreator,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
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidafterConnect(java.net.Socket s)Action to be taken for this option after connect returned (i.e.voidbeforeConnect(java.net.Socket s)Action to be taken for this option before calling connect()voidbeforeDatagramBind(java.net.DatagramSocket ds)Action to be taken for this option before bind() is calledvoidbeforeServerSocketBind(java.net.ServerSocket ss)Action to be taken for this option before bind() is called
-
-
-
Method Detail
-
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)
-
beforeConnect
void beforeConnect(java.net.Socket s)
Action to be taken for this option before calling connect()- Parameters:
s- (undocumented)
-
beforeDatagramBind
void beforeDatagramBind(java.net.DatagramSocket ds)
Action to be taken for this option before bind() is called- Parameters:
ds- (undocumented)
-
beforeServerSocketBind
void beforeServerSocketBind(java.net.ServerSocket ss)
Action to be taken for this option before bind() is called- Parameters:
ss- (undocumented)
-
-