Example usage for Java io.netty.channel.socket SocketChannel fields, constructors, methods, implement or subclass
The text is from its open source code.
ByteBufAllocator | alloc() Return the assigned ByteBufAllocator which will be used to allocate ByteBuf s. |
Attribute | attr(AttributeKey Get the Attribute for the given AttributeKey . |
ChannelFuture | closeFuture() Returns the ChannelFuture which will be notified when this channel is closed. |
SocketChannelConfig | config() |
EventLoop | eventLoop() Return the EventLoop this Channel was registered to. |
Channel | flush() |
ChannelId | id() Returns the globally unique identifier of this Channel . |
boolean | isActive() Return true if the Channel is active and so connected. |
boolean | isOpen() Returns true if the Channel is open and may get active later |
InetSocketAddress | localAddress() |
ChannelPipeline | pipeline() Return the assigned ChannelPipeline . |
Channel | read() |
InetSocketAddress | remoteAddress() |