Package org.apache.pekko.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
Modifier and TypeMethodDescriptionvoidAction to be taken for this option after connect returned.voidAction to be taken for this option before calling connect()voidAction to be taken for this option before bind() is calledvoidAction to be taken for this option before bind() is called
-
Method Details
-
afterConnect
Action to be taken for this option after connect returned. -
beforeConnect
Action to be taken for this option before calling connect() -
beforeDatagramBind
Action to be taken for this option before bind() is called -
beforeServerSocketBind
Action to be taken for this option before bind() is called
-