Package | Description |
---|---|
io.netty.channel |
The core channel API which is asynchronous and event-driven abstraction of
various transports such as a
NIO Channel.
|
Modifier and Type | Method and Description |
---|---|
ChannelPipeline |
ChannelPipeline.addAfter(io.netty.util.concurrent.EventExecutorGroup group,
String baseName,
String name,
ChannelHandler handler)
Inserts a
ChannelHandler after an existing handler of this
pipeline. |
ChannelPipeline |
ChannelPipeline.addAfter(String baseName,
String name,
ChannelHandler handler)
Inserts a
ChannelHandler after an existing handler of this
pipeline. |
ChannelPipeline |
ChannelPipeline.addBefore(io.netty.util.concurrent.EventExecutorGroup group,
String baseName,
String name,
ChannelHandler handler)
Inserts a
ChannelHandler before an existing handler of this
pipeline. |
ChannelPipeline |
ChannelPipeline.addBefore(String baseName,
String name,
ChannelHandler handler)
Inserts a
ChannelHandler before an existing handler of this
pipeline. |
ChannelPipeline |
ChannelPipeline.addFirst(ChannelHandler... handlers)
Inserts a
ChannelHandler s at the first position of this pipeline. |
ChannelPipeline |
ChannelPipeline.addFirst(io.netty.util.concurrent.EventExecutorGroup group,
ChannelHandler... handlers)
Inserts a
ChannelHandler s at the first position of this pipeline. |
ChannelPipeline |
ChannelPipeline.addFirst(io.netty.util.concurrent.EventExecutorGroup group,
String name,
ChannelHandler handler)
Inserts a
ChannelHandler at the first position of this pipeline. |
ChannelPipeline |
ChannelPipeline.addFirst(String name,
ChannelHandler handler)
Inserts a
ChannelHandler at the first position of this pipeline. |
ChannelPipeline |
ChannelPipeline.addLast(ChannelHandler... handlers)
Inserts a
ChannelHandler s at the last position of this pipeline. |
ChannelPipeline |
ChannelPipeline.addLast(io.netty.util.concurrent.EventExecutorGroup group,
ChannelHandler... handlers)
Inserts a
ChannelHandler s at the last position of this pipeline. |
ChannelPipeline |
ChannelPipeline.addLast(io.netty.util.concurrent.EventExecutorGroup group,
String name,
ChannelHandler handler)
Appends a
ChannelHandler at the last position of this pipeline. |
ChannelPipeline |
ChannelPipeline.addLast(String name,
ChannelHandler handler)
Appends a
ChannelHandler at the last position of this pipeline. |
ChannelPipeline |
ChannelPipeline.fireChannelActive()
A
Channel is active now, which means it is connected. |
ChannelPipeline |
ChannelPipeline.fireChannelInactive()
A
Channel is inactive now, which means it is closed. |
ChannelPipeline |
ChannelPipeline.fireChannelRead(Object msg)
A
Channel received a message. |
ChannelPipeline |
ChannelPipeline.fireChannelReadComplete()
Triggers an
ChannelInboundHandler.channelWritabilityChanged(ChannelHandlerContext)
event to the next ChannelInboundHandler in the ChannelPipeline . |
ChannelPipeline |
ChannelPipeline.fireChannelRegistered()
|
ChannelPipeline |
ChannelPipeline.fireChannelUnregistered()
|
ChannelPipeline |
ChannelPipeline.fireChannelWritabilityChanged()
Triggers an
ChannelInboundHandler.channelWritabilityChanged(ChannelHandlerContext)
event to the next ChannelInboundHandler in the ChannelPipeline . |
ChannelPipeline |
ChannelPipeline.fireExceptionCaught(Throwable cause)
|
ChannelPipeline |
ChannelPipeline.fireUserEventTriggered(Object event)
A
Channel received an user defined event. |
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 |
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 |
ChannelPipeline.remove(ChannelHandler handler)
Removes the specified
ChannelHandler from this pipeline. |
ChannelPipeline |
ChannelPipeline.replace(ChannelHandler oldHandler,
String newName,
ChannelHandler newHandler)
Replaces the specified
ChannelHandler with a new handler in this pipeline. |
Copyright © 2008–2015 The Netty Project. All rights reserved.