Package io.netty.channel.nio
Interface AbstractNioChannel.NioUnsafe
- All Superinterfaces:
Channel.Unsafe
- All Known Implementing Classes:
AbstractNioByteChannel.NioByteUnsafe,AbstractNioChannel.AbstractNioUnsafe,AbstractNioMessageChannel.NioMessageUnsafe,NioDomainSocketChannel.NioSocketChannelUnsafe,NioSocketChannel.NioSocketChannelUnsafe
- Enclosing class:
AbstractNioChannel
Special
Channel.Unsafe sub-type which allows to access the underlying SelectableChannel-
Method Summary
Modifier and TypeMethodDescriptionch()Return underlyingSelectableChannelvoidFinish connectvoidvoidread()Read from underlyingSelectableChannelMethods inherited from interface io.netty.channel.Channel.Unsafe
beginRead, bind, close, closeForcibly, connect, deregister, disconnect, flush, localAddress, outboundBuffer, recvBufAllocHandle, register, remoteAddress, voidPromise, write
-
Method Details
-
ch
SelectableChannel ch()Return underlyingSelectableChannel -
finishConnect
void finishConnect()Finish connect -
read
void read()Read from underlyingSelectableChannel -
forceFlush
void forceFlush()
-