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
SocketOption is a package of data (from the user) and associated behavior (how to apply that to a channel).
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
afterConnect(java.net.Socket s)
Action to be taken for this option after connect returned.void
beforeConnect(java.net.Socket s)
Action to be taken for this option before calling connect()void
beforeDatagramBind(java.net.DatagramSocket ds)
Action to be taken for this option before bind() is calledvoid
beforeServerSocketBind(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.
-
beforeConnect
void beforeConnect(java.net.Socket s)
Action to be taken for this option before calling connect()
-
beforeDatagramBind
void beforeDatagramBind(java.net.DatagramSocket ds)
Action to be taken for this option before bind() is called
-
beforeServerSocketBind
void beforeServerSocketBind(java.net.ServerSocket ss)
Action to be taken for this option before bind() is called
-
-