public class ChannelHandlerContextWrapper extends Object implements io.netty.channel.ChannelHandlerContext
Constructor and Description |
---|
ChannelHandlerContextWrapper(io.netty.channel.ChannelHandlerContext base,
ViaHandler handler) |
Modifier and Type | Method and Description |
---|---|
io.netty.buffer.ByteBufAllocator |
alloc() |
<T> io.netty.util.Attribute<T> |
attr(io.netty.util.AttributeKey<T> attributeKey) |
io.netty.channel.ChannelFuture |
bind(SocketAddress socketAddress) |
io.netty.channel.ChannelFuture |
bind(SocketAddress socketAddress,
io.netty.channel.ChannelPromise channelPromise) |
io.netty.channel.Channel |
channel() |
io.netty.channel.ChannelFuture |
close() |
io.netty.channel.ChannelFuture |
close(io.netty.channel.ChannelPromise channelPromise) |
io.netty.channel.ChannelFuture |
connect(SocketAddress socketAddress) |
io.netty.channel.ChannelFuture |
connect(SocketAddress socketAddress,
io.netty.channel.ChannelPromise channelPromise) |
io.netty.channel.ChannelFuture |
connect(SocketAddress socketAddress,
SocketAddress socketAddress1) |
io.netty.channel.ChannelFuture |
connect(SocketAddress socketAddress,
SocketAddress socketAddress1,
io.netty.channel.ChannelPromise channelPromise) |
io.netty.channel.ChannelFuture |
deregister() |
io.netty.channel.ChannelFuture |
deregister(io.netty.channel.ChannelPromise channelPromise) |
io.netty.channel.ChannelFuture |
disconnect() |
io.netty.channel.ChannelFuture |
disconnect(io.netty.channel.ChannelPromise channelPromise) |
io.netty.util.concurrent.EventExecutor |
executor() |
io.netty.channel.ChannelHandlerContext |
fireChannelActive() |
io.netty.channel.ChannelHandlerContext |
fireChannelInactive() |
io.netty.channel.ChannelHandlerContext |
fireChannelRead(Object o) |
io.netty.channel.ChannelHandlerContext |
fireChannelReadComplete() |
io.netty.channel.ChannelHandlerContext |
fireChannelRegistered() |
io.netty.channel.ChannelHandlerContext |
fireChannelUnregistered() |
io.netty.channel.ChannelHandlerContext |
fireChannelWritabilityChanged() |
io.netty.channel.ChannelHandlerContext |
fireExceptionCaught(Throwable throwable) |
io.netty.channel.ChannelHandlerContext |
fireUserEventTriggered(Object o) |
io.netty.channel.ChannelHandlerContext |
flush() |
io.netty.channel.ChannelHandler |
handler() |
boolean |
isRemoved() |
String |
name() |
io.netty.channel.ChannelFuture |
newFailedFuture(Throwable throwable) |
io.netty.channel.ChannelProgressivePromise |
newProgressivePromise() |
io.netty.channel.ChannelPromise |
newPromise() |
io.netty.channel.ChannelFuture |
newSucceededFuture() |
io.netty.channel.ChannelPipeline |
pipeline() |
io.netty.channel.ChannelHandlerContext |
read() |
boolean |
transform(io.netty.buffer.ByteBuf buf) |
io.netty.channel.ChannelPromise |
voidPromise() |
io.netty.channel.ChannelFuture |
write(Object o) |
io.netty.channel.ChannelFuture |
write(Object o,
io.netty.channel.ChannelPromise channelPromise) |
io.netty.channel.ChannelFuture |
writeAndFlush(Object o) |
io.netty.channel.ChannelFuture |
writeAndFlush(Object o,
io.netty.channel.ChannelPromise channelPromise) |
public ChannelHandlerContextWrapper(io.netty.channel.ChannelHandlerContext base, ViaHandler handler)
public io.netty.channel.Channel channel()
channel
in interface io.netty.channel.ChannelHandlerContext
public io.netty.util.concurrent.EventExecutor executor()
executor
in interface io.netty.channel.ChannelHandlerContext
public String name()
name
in interface io.netty.channel.ChannelHandlerContext
public io.netty.channel.ChannelHandler handler()
handler
in interface io.netty.channel.ChannelHandlerContext
public boolean isRemoved()
isRemoved
in interface io.netty.channel.ChannelHandlerContext
public io.netty.channel.ChannelHandlerContext fireChannelRegistered()
fireChannelRegistered
in interface io.netty.channel.ChannelHandlerContext
fireChannelRegistered
in interface io.netty.channel.ChannelInboundInvoker
public io.netty.channel.ChannelHandlerContext fireChannelUnregistered()
fireChannelUnregistered
in interface io.netty.channel.ChannelHandlerContext
fireChannelUnregistered
in interface io.netty.channel.ChannelInboundInvoker
public io.netty.channel.ChannelHandlerContext fireChannelActive()
fireChannelActive
in interface io.netty.channel.ChannelHandlerContext
fireChannelActive
in interface io.netty.channel.ChannelInboundInvoker
public io.netty.channel.ChannelHandlerContext fireChannelInactive()
fireChannelInactive
in interface io.netty.channel.ChannelHandlerContext
fireChannelInactive
in interface io.netty.channel.ChannelInboundInvoker
public io.netty.channel.ChannelHandlerContext fireExceptionCaught(Throwable throwable)
fireExceptionCaught
in interface io.netty.channel.ChannelHandlerContext
fireExceptionCaught
in interface io.netty.channel.ChannelInboundInvoker
public io.netty.channel.ChannelHandlerContext fireUserEventTriggered(Object o)
fireUserEventTriggered
in interface io.netty.channel.ChannelHandlerContext
fireUserEventTriggered
in interface io.netty.channel.ChannelInboundInvoker
public io.netty.channel.ChannelHandlerContext fireChannelRead(Object o)
fireChannelRead
in interface io.netty.channel.ChannelHandlerContext
fireChannelRead
in interface io.netty.channel.ChannelInboundInvoker
public io.netty.channel.ChannelHandlerContext fireChannelReadComplete()
fireChannelReadComplete
in interface io.netty.channel.ChannelHandlerContext
fireChannelReadComplete
in interface io.netty.channel.ChannelInboundInvoker
public io.netty.channel.ChannelHandlerContext fireChannelWritabilityChanged()
fireChannelWritabilityChanged
in interface io.netty.channel.ChannelHandlerContext
fireChannelWritabilityChanged
in interface io.netty.channel.ChannelInboundInvoker
public io.netty.channel.ChannelFuture bind(SocketAddress socketAddress)
bind
in interface io.netty.channel.ChannelOutboundInvoker
public io.netty.channel.ChannelFuture connect(SocketAddress socketAddress)
connect
in interface io.netty.channel.ChannelOutboundInvoker
public io.netty.channel.ChannelFuture connect(SocketAddress socketAddress, SocketAddress socketAddress1)
connect
in interface io.netty.channel.ChannelOutboundInvoker
public io.netty.channel.ChannelFuture disconnect()
disconnect
in interface io.netty.channel.ChannelOutboundInvoker
public io.netty.channel.ChannelFuture close()
close
in interface io.netty.channel.ChannelOutboundInvoker
public io.netty.channel.ChannelFuture deregister()
deregister
in interface io.netty.channel.ChannelOutboundInvoker
public io.netty.channel.ChannelFuture bind(SocketAddress socketAddress, io.netty.channel.ChannelPromise channelPromise)
bind
in interface io.netty.channel.ChannelOutboundInvoker
public io.netty.channel.ChannelFuture connect(SocketAddress socketAddress, io.netty.channel.ChannelPromise channelPromise)
connect
in interface io.netty.channel.ChannelOutboundInvoker
public io.netty.channel.ChannelFuture connect(SocketAddress socketAddress, SocketAddress socketAddress1, io.netty.channel.ChannelPromise channelPromise)
connect
in interface io.netty.channel.ChannelOutboundInvoker
public io.netty.channel.ChannelFuture disconnect(io.netty.channel.ChannelPromise channelPromise)
disconnect
in interface io.netty.channel.ChannelOutboundInvoker
public io.netty.channel.ChannelFuture close(io.netty.channel.ChannelPromise channelPromise)
close
in interface io.netty.channel.ChannelOutboundInvoker
public io.netty.channel.ChannelFuture deregister(io.netty.channel.ChannelPromise channelPromise)
deregister
in interface io.netty.channel.ChannelOutboundInvoker
public io.netty.channel.ChannelHandlerContext read()
read
in interface io.netty.channel.ChannelHandlerContext
read
in interface io.netty.channel.ChannelOutboundInvoker
public io.netty.channel.ChannelFuture write(Object o)
write
in interface io.netty.channel.ChannelOutboundInvoker
public io.netty.channel.ChannelFuture write(Object o, io.netty.channel.ChannelPromise channelPromise)
write
in interface io.netty.channel.ChannelOutboundInvoker
public boolean transform(io.netty.buffer.ByteBuf buf)
public io.netty.channel.ChannelHandlerContext flush()
flush
in interface io.netty.channel.ChannelHandlerContext
flush
in interface io.netty.channel.ChannelOutboundInvoker
public io.netty.channel.ChannelFuture writeAndFlush(Object o, io.netty.channel.ChannelPromise channelPromise)
writeAndFlush
in interface io.netty.channel.ChannelOutboundInvoker
public io.netty.channel.ChannelFuture writeAndFlush(Object o)
writeAndFlush
in interface io.netty.channel.ChannelOutboundInvoker
public io.netty.channel.ChannelPipeline pipeline()
pipeline
in interface io.netty.channel.ChannelHandlerContext
public io.netty.buffer.ByteBufAllocator alloc()
alloc
in interface io.netty.channel.ChannelHandlerContext
public io.netty.channel.ChannelPromise newPromise()
newPromise
in interface io.netty.channel.ChannelOutboundInvoker
public io.netty.channel.ChannelProgressivePromise newProgressivePromise()
newProgressivePromise
in interface io.netty.channel.ChannelOutboundInvoker
public io.netty.channel.ChannelFuture newSucceededFuture()
newSucceededFuture
in interface io.netty.channel.ChannelOutboundInvoker
public io.netty.channel.ChannelFuture newFailedFuture(Throwable throwable)
newFailedFuture
in interface io.netty.channel.ChannelOutboundInvoker
public io.netty.channel.ChannelPromise voidPromise()
voidPromise
in interface io.netty.channel.ChannelOutboundInvoker
public <T> io.netty.util.Attribute<T> attr(io.netty.util.AttributeKey<T> attributeKey)
attr
in interface io.netty.channel.ChannelHandlerContext
attr
in interface io.netty.util.AttributeMap
Copyright © 2016–2021. All rights reserved.