public abstract class ChannelProxy extends Object implements io.netty.channel.Channel
| Modifier and Type | Field and Description |
|---|---|
protected io.netty.channel.Channel |
delegate |
protected Class<?> |
messageClass |
| Constructor and Description |
|---|
ChannelProxy(io.netty.channel.Channel delegate,
Class<?> messageClass) |
| Modifier and Type | Method and Description |
|---|---|
io.netty.buffer.ByteBufAllocator |
alloc() |
<T> io.netty.util.Attribute<T> |
attr(io.netty.util.AttributeKey<T> paramAttributeKey) |
io.netty.channel.ChannelFuture |
bind(SocketAddress paramSocketAddress) |
io.netty.channel.ChannelFuture |
bind(SocketAddress paramSocketAddress,
io.netty.channel.ChannelPromise paramChannelPromise) |
io.netty.channel.ChannelFuture |
close() |
io.netty.channel.ChannelFuture |
close(io.netty.channel.ChannelPromise paramChannelPromise) |
io.netty.channel.ChannelFuture |
closeFuture() |
int |
compareTo(io.netty.channel.Channel o) |
io.netty.channel.ChannelConfig |
config() |
io.netty.channel.ChannelFuture |
connect(SocketAddress paramSocketAddress) |
io.netty.channel.ChannelFuture |
connect(SocketAddress paramSocketAddress,
io.netty.channel.ChannelPromise paramChannelPromise) |
io.netty.channel.ChannelFuture |
connect(SocketAddress paramSocketAddress1,
SocketAddress paramSocketAddress2) |
io.netty.channel.ChannelFuture |
connect(SocketAddress paramSocketAddress1,
SocketAddress paramSocketAddress2,
io.netty.channel.ChannelPromise paramChannelPromise) |
io.netty.channel.ChannelFuture |
deregister()
Deprecated.
|
io.netty.channel.ChannelFuture |
deregister(io.netty.channel.ChannelPromise paramChannelPromise)
Deprecated.
|
io.netty.channel.ChannelFuture |
disconnect() |
io.netty.channel.ChannelFuture |
disconnect(io.netty.channel.ChannelPromise paramChannelPromise) |
io.netty.channel.EventLoop |
eventLoop() |
io.netty.channel.Channel |
flush() |
boolean |
isActive() |
boolean |
isOpen() |
boolean |
isRegistered() |
boolean |
isWritable() |
SocketAddress |
localAddress() |
io.netty.channel.ChannelMetadata |
metadata() |
io.netty.channel.ChannelFuture |
newFailedFuture(Throwable paramThrowable) |
io.netty.channel.ChannelProgressivePromise |
newProgressivePromise() |
io.netty.channel.ChannelPromise |
newPromise() |
io.netty.channel.ChannelFuture |
newSucceededFuture() |
protected abstract <T> Callable<T> |
onMessageScheduled(Callable<T> callable,
FieldAccessor packetAccessor)
Invoked when a packet is scheduled for transmission in the event loop.
|
protected abstract Runnable |
onMessageScheduled(Runnable runnable,
FieldAccessor packetAccessor)
Invoked when a packet is scheduled for transmission in the event loop.
|
io.netty.channel.Channel |
parent() |
io.netty.channel.ChannelPipeline |
pipeline() |
io.netty.channel.Channel |
read() |
SocketAddress |
remoteAddress() |
io.netty.channel.Channel.Unsafe |
unsafe() |
io.netty.channel.ChannelPromise |
voidPromise() |
io.netty.channel.ChannelFuture |
write(Object paramObject) |
io.netty.channel.ChannelFuture |
write(Object paramObject,
io.netty.channel.ChannelPromise paramChannelPromise) |
io.netty.channel.ChannelFuture |
writeAndFlush(Object paramObject) |
io.netty.channel.ChannelFuture |
writeAndFlush(Object paramObject,
io.netty.channel.ChannelPromise paramChannelPromise) |
protected io.netty.channel.Channel delegate
protected Class<?> messageClass
public ChannelProxy(io.netty.channel.Channel delegate,
Class<?> messageClass)
protected abstract <T> Callable<T> onMessageScheduled(Callable<T> callable, FieldAccessor packetAccessor)
T - Typecallable - - callable to schedule for execution.packetAccessor - - accessor for modifying the packet in the callable.protected abstract Runnable onMessageScheduled(Runnable runnable, FieldAccessor packetAccessor)
runnable - - the runnable that contains a packet to be scheduled.packetAccessor - - accessor for modifying the packet in the runnable.public <T> io.netty.util.Attribute<T> attr(io.netty.util.AttributeKey<T> paramAttributeKey)
attr in interface io.netty.util.AttributeMappublic io.netty.channel.ChannelFuture bind(SocketAddress paramSocketAddress)
bind in interface io.netty.channel.Channelpublic io.netty.channel.ChannelPipeline pipeline()
pipeline in interface io.netty.channel.Channelpublic io.netty.channel.ChannelFuture connect(SocketAddress paramSocketAddress)
connect in interface io.netty.channel.Channelpublic io.netty.buffer.ByteBufAllocator alloc()
alloc in interface io.netty.channel.Channelpublic io.netty.channel.ChannelPromise newPromise()
newPromise in interface io.netty.channel.Channelpublic io.netty.channel.EventLoop eventLoop()
eventLoop in interface io.netty.channel.Channelpublic io.netty.channel.ChannelFuture connect(SocketAddress paramSocketAddress1, SocketAddress paramSocketAddress2)
connect in interface io.netty.channel.Channelpublic io.netty.channel.ChannelProgressivePromise newProgressivePromise()
newProgressivePromise in interface io.netty.channel.Channelpublic io.netty.channel.Channel parent()
parent in interface io.netty.channel.Channelpublic io.netty.channel.ChannelConfig config()
config in interface io.netty.channel.Channelpublic io.netty.channel.ChannelFuture newSucceededFuture()
newSucceededFuture in interface io.netty.channel.Channelpublic boolean isOpen()
isOpen in interface io.netty.channel.Channelpublic io.netty.channel.ChannelFuture disconnect()
disconnect in interface io.netty.channel.Channelpublic boolean isRegistered()
isRegistered in interface io.netty.channel.Channelpublic io.netty.channel.ChannelFuture newFailedFuture(Throwable paramThrowable)
newFailedFuture in interface io.netty.channel.Channelpublic io.netty.channel.ChannelFuture close()
close in interface io.netty.channel.Channelpublic boolean isActive()
isActive in interface io.netty.channel.Channel@Deprecated public io.netty.channel.ChannelFuture deregister()
deregister in interface io.netty.channel.Channelpublic io.netty.channel.ChannelPromise voidPromise()
voidPromise in interface io.netty.channel.Channelpublic io.netty.channel.ChannelMetadata metadata()
metadata in interface io.netty.channel.Channelpublic io.netty.channel.ChannelFuture bind(SocketAddress paramSocketAddress, io.netty.channel.ChannelPromise paramChannelPromise)
bind in interface io.netty.channel.Channelpublic SocketAddress localAddress()
localAddress in interface io.netty.channel.Channelpublic SocketAddress remoteAddress()
remoteAddress in interface io.netty.channel.Channelpublic io.netty.channel.ChannelFuture connect(SocketAddress paramSocketAddress, io.netty.channel.ChannelPromise paramChannelPromise)
connect in interface io.netty.channel.Channelpublic io.netty.channel.ChannelFuture closeFuture()
closeFuture in interface io.netty.channel.Channelpublic boolean isWritable()
isWritable in interface io.netty.channel.Channelpublic io.netty.channel.Channel flush()
flush in interface io.netty.channel.Channelpublic io.netty.channel.ChannelFuture connect(SocketAddress paramSocketAddress1, SocketAddress paramSocketAddress2, io.netty.channel.ChannelPromise paramChannelPromise)
connect in interface io.netty.channel.Channelpublic io.netty.channel.Channel read()
read in interface io.netty.channel.Channelpublic io.netty.channel.Channel.Unsafe unsafe()
unsafe in interface io.netty.channel.Channelpublic io.netty.channel.ChannelFuture disconnect(io.netty.channel.ChannelPromise paramChannelPromise)
disconnect in interface io.netty.channel.Channelpublic io.netty.channel.ChannelFuture close(io.netty.channel.ChannelPromise paramChannelPromise)
close in interface io.netty.channel.Channel@Deprecated public io.netty.channel.ChannelFuture deregister(io.netty.channel.ChannelPromise paramChannelPromise)
deregister in interface io.netty.channel.Channelpublic io.netty.channel.ChannelFuture write(Object paramObject)
write in interface io.netty.channel.Channelpublic io.netty.channel.ChannelFuture write(Object paramObject, io.netty.channel.ChannelPromise paramChannelPromise)
write in interface io.netty.channel.Channelpublic io.netty.channel.ChannelFuture writeAndFlush(Object paramObject, io.netty.channel.ChannelPromise paramChannelPromise)
writeAndFlush in interface io.netty.channel.Channelpublic io.netty.channel.ChannelFuture writeAndFlush(Object paramObject)
writeAndFlush in interface io.netty.channel.Channelpublic int compareTo(io.netty.channel.Channel o)
compareTo in interface Comparable<io.netty.channel.Channel>Copyright © 2012–2017 Comphenix and dmulloy2. Licensed under the GNU GPL v2.