Package io.netty.channel.socket
Abstract TCP and UDP socket interfaces which extend the core channel API.
-
Interface Summary Interface Description DatagramChannel A UDP/IPChannel
.DatagramChannelConfig AChannelConfig
for aDatagramChannel
.DuplexChannel A duplexChannel
that has two sides that can be shutdown independently.DuplexChannelConfig AChannelConfig
for aDuplexChannel
.ServerSocketChannel A TCP/IPServerChannel
which accepts incoming TCP/IP connections.ServerSocketChannelConfig AChannelConfig
for aServerSocketChannel
.SocketChannel A TCP/IP socketChannel
.SocketChannelConfig AChannelConfig
for aSocketChannel
. -
Class Summary Class Description ChannelInputShutdownEvent Special event which will be fired and passed to theChannelInboundHandler.userEventTriggered(ChannelHandlerContext, Object)
methods once the input of aSocketChannel
was shutdown and theDuplexChannelConfig.isAllowHalfClosure()
method returnstrue
.ChannelInputShutdownReadComplete User event that signifies the channel's input side is shutdown, and we tried to shut it down again.ChannelOutputShutdownEvent Special event which will be fired and passed to theChannelInboundHandler.userEventTriggered(ChannelHandlerContext, Object)
methods once the output of aSocketChannel
was shutdown.DatagramPacket The message container that is used forDatagramChannel
to communicate with the remote peer.DefaultDatagramChannelConfig The defaultDatagramChannelConfig
implementation.DefaultServerSocketChannelConfig The defaultServerSocketChannelConfig
implementation.DefaultSocketChannelConfig The defaultSocketChannelConfig
implementation. -
Enum Summary Enum Description InternetProtocolFamily Deprecated. useSocketProtocolFamily
.SocketProtocolFamily ProtocolFamily
implementation that is used by the different transport implementations. -
Exception Summary Exception Description ChannelOutputShutdownException Used to fail pending writes when a channel's output has been shutdown.