Java io.netty.channel Channel fields, constructors, methods, implement or subclass

Example usage for Java io.netty.channel Channel fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for io.netty.channel Channel.

The text is from its open source code.

Implementation

io.netty.channel.Channel has the following implementations.
Click this link to see all its implementation.

Method

ByteBufAllocatoralloc()
Return the assigned ByteBufAllocator which will be used to allocate ByteBuf s.
Attributeattr(AttributeKey key)
Get the Attribute for the given AttributeKey .
ChannelFuturecloseFuture()
Returns the ChannelFuture which will be notified when this channel is closed.
ChannelConfigconfig()
Returns the configuration of this channel.
EventLoopeventLoop()
Return the EventLoop this Channel was registered to.
Channelflush()
booleanhasAttr(AttributeKey key)
Returns true if and only if the given Attribute exists in this AttributeMap .
ChannelIdid()
Returns the globally unique identifier of this Channel .
booleanisActive()
Return true if the Channel is active and so connected.
booleanisOpen()
Returns true if the Channel is open and may get active later
booleanisRegistered()
Returns true if the Channel is registered with an EventLoop .
booleanisWritable()
Returns true if and only if the I/O thread will perform the requested write operation immediately.
SocketAddresslocalAddress()
Returns the local address where this channel is bound to.
ChannelMetadatametadata()
Return the ChannelMetadata of the Channel which describe the nature of the Channel .
Channelparent()
Returns the parent of this channel.
ChannelPipelinepipeline()
Return the assigned ChannelPipeline .
Channelread()
SocketAddressremoteAddress()
Returns the remote address where this channel is connected to.
Unsafeunsafe()
Returns an internal-use-only object that provides unsafe operations.