程序包 | 说明 |
---|---|
io.netty.channel |
The core channel API which is asynchronous and event-driven abstraction of
various transports such as a
NIO Channel.
|
限定符和类型 | 类和说明 |
---|---|
class |
DefaultChannelPipeline
The default
ChannelPipeline implementation. |
限定符和类型 | 方法和说明 |
---|---|
ChannelPipeline |
DefaultChannelPipeline.addAfter(EventExecutorGroup group,
java.lang.String baseName,
java.lang.String name,
ChannelHandler handler) |
ChannelPipeline |
ChannelPipeline.addAfter(EventExecutorGroup group,
java.lang.String baseName,
java.lang.String name,
ChannelHandler handler)
Inserts a
ChannelHandler after an existing handler of this
pipeline. |
ChannelPipeline |
DefaultChannelPipeline.addAfter(java.lang.String baseName,
java.lang.String name,
ChannelHandler handler) |
ChannelPipeline |
ChannelPipeline.addAfter(java.lang.String baseName,
java.lang.String name,
ChannelHandler handler)
Inserts a
ChannelHandler after an existing handler of this
pipeline. |
ChannelPipeline |
DefaultChannelPipeline.addBefore(EventExecutorGroup group,
java.lang.String baseName,
java.lang.String name,
ChannelHandler handler) |
ChannelPipeline |
ChannelPipeline.addBefore(EventExecutorGroup group,
java.lang.String baseName,
java.lang.String name,
ChannelHandler handler)
Inserts a
ChannelHandler before an existing handler of this
pipeline. |
ChannelPipeline |
DefaultChannelPipeline.addBefore(java.lang.String baseName,
java.lang.String name,
ChannelHandler handler) |
ChannelPipeline |
ChannelPipeline.addBefore(java.lang.String baseName,
java.lang.String name,
ChannelHandler handler)
Inserts a
ChannelHandler before an existing handler of this
pipeline. |
ChannelPipeline |
DefaultChannelPipeline.addFirst(ChannelHandler... handlers) |
ChannelPipeline |
ChannelPipeline.addFirst(ChannelHandler... handlers)
Inserts
ChannelHandler s at the first position of this pipeline. |
ChannelPipeline |
DefaultChannelPipeline.addFirst(EventExecutorGroup executor,
ChannelHandler... handlers) |
ChannelPipeline |
ChannelPipeline.addFirst(EventExecutorGroup group,
ChannelHandler... handlers)
Inserts
ChannelHandler s at the first position of this pipeline. |
ChannelPipeline |
DefaultChannelPipeline.addFirst(EventExecutorGroup group,
java.lang.String name,
ChannelHandler handler) |
ChannelPipeline |
ChannelPipeline.addFirst(EventExecutorGroup group,
java.lang.String name,
ChannelHandler handler)
Inserts a
ChannelHandler at the first position of this pipeline. |
ChannelPipeline |
DefaultChannelPipeline.addFirst(java.lang.String name,
ChannelHandler handler) |
ChannelPipeline |
ChannelPipeline.addFirst(java.lang.String name,
ChannelHandler handler)
Inserts a
ChannelHandler at the first position of this pipeline. |
ChannelPipeline |
DefaultChannelPipeline.addLast(ChannelHandler... handlers) |
ChannelPipeline |
ChannelPipeline.addLast(ChannelHandler... handlers)
Inserts
ChannelHandler s at the last position of this pipeline. |
ChannelPipeline |
DefaultChannelPipeline.addLast(EventExecutorGroup executor,
ChannelHandler... handlers) |
ChannelPipeline |
ChannelPipeline.addLast(EventExecutorGroup group,
ChannelHandler... handlers)
Inserts
ChannelHandler s at the last position of this pipeline. |
ChannelPipeline |
DefaultChannelPipeline.addLast(EventExecutorGroup group,
java.lang.String name,
ChannelHandler handler) |
ChannelPipeline |
ChannelPipeline.addLast(EventExecutorGroup group,
java.lang.String name,
ChannelHandler handler)
Appends a
ChannelHandler at the last position of this pipeline. |
ChannelPipeline |
DefaultChannelPipeline.addLast(java.lang.String name,
ChannelHandler handler) |
ChannelPipeline |
ChannelPipeline.addLast(java.lang.String name,
ChannelHandler handler)
Appends a
ChannelHandler at the last position of this pipeline. |
ChannelPipeline |
DefaultChannelPipeline.fireChannelActive() |
ChannelPipeline |
ChannelPipeline.fireChannelActive()
A
Channel is active now, which means it is connected. |
ChannelPipeline |
DefaultChannelPipeline.fireChannelInactive() |
ChannelPipeline |
ChannelPipeline.fireChannelInactive()
A
Channel is inactive now, which means it is closed. |
ChannelPipeline |
DefaultChannelPipeline.fireChannelRead(java.lang.Object msg) |
ChannelPipeline |
ChannelPipeline.fireChannelRead(java.lang.Object msg)
A
Channel received a message. |
ChannelPipeline |
DefaultChannelPipeline.fireChannelReadComplete() |
ChannelPipeline |
ChannelPipeline.fireChannelReadComplete()
Triggers an
ChannelInboundHandler.channelReadComplete(ChannelHandlerContext)
event to the next ChannelInboundHandler in the ChannelPipeline . |
ChannelPipeline |
DefaultChannelPipeline.fireChannelRegistered() |
ChannelPipeline |
ChannelPipeline.fireChannelRegistered()
|
ChannelPipeline |
DefaultChannelPipeline.fireChannelUnregistered() |
ChannelPipeline |
ChannelPipeline.fireChannelUnregistered()
|
ChannelPipeline |
DefaultChannelPipeline.fireChannelWritabilityChanged() |
ChannelPipeline |
ChannelPipeline.fireChannelWritabilityChanged()
Triggers an
ChannelInboundHandler.channelWritabilityChanged(ChannelHandlerContext)
event to the next ChannelInboundHandler in the ChannelPipeline . |
ChannelPipeline |
DefaultChannelPipeline.fireExceptionCaught(java.lang.Throwable cause) |
ChannelPipeline |
ChannelPipeline.fireExceptionCaught(java.lang.Throwable cause)
A
Channel received an Throwable in one of its inbound operations. |
ChannelPipeline |
DefaultChannelPipeline.fireUserEventTriggered(java.lang.Object event) |
ChannelPipeline |
ChannelPipeline.fireUserEventTriggered(java.lang.Object event)
A
Channel received an user defined event. |
ChannelPipeline |
DefaultChannelPipeline.flush() |
ChannelPipeline |
ChannelPipeline.flush()
Request to flush all pending messages.
|
ChannelPipeline |
ChannelHandlerContext.pipeline()
Return the assigned
ChannelPipeline |
ChannelPipeline |
Channel.pipeline()
Return the assigned
ChannelPipeline . |
ChannelPipeline |
AbstractChannel.pipeline() |
ChannelPipeline |
DefaultChannelPipeline.read() |
ChannelPipeline |
ChannelPipeline.read()
Request to Read data from the
Channel into the first inbound buffer, triggers an
ChannelInboundHandler.channelRead(ChannelHandlerContext, Object) event if data was
read, and triggers a
channelReadComplete event so the
handler can decide to continue reading. |
ChannelPipeline |
DefaultChannelPipeline.remove(ChannelHandler handler) |
ChannelPipeline |
ChannelPipeline.remove(ChannelHandler handler)
Removes the specified
ChannelHandler from this pipeline. |
ChannelPipeline |
DefaultChannelPipeline.replace(ChannelHandler oldHandler,
java.lang.String newName,
ChannelHandler newHandler) |
ChannelPipeline |
ChannelPipeline.replace(ChannelHandler oldHandler,
java.lang.String newName,
ChannelHandler newHandler)
Replaces the specified
ChannelHandler with a new handler in this pipeline. |