public abstract class NettyChannelSender extends Object implements ChannelSender
ChannelSender.SendHandler| Modifier and Type | Field and Description |
|---|---|
protected org.jboss.netty.channel.Channel |
channel |
| Constructor and Description |
|---|
NettyChannelSender(org.jboss.netty.channel.Channel channel) |
| Modifier and Type | Method and Description |
|---|---|
org.jboss.netty.channel.Channel |
getChannel() |
Object |
getContext(Object key) |
SocketAddress |
getLocalAddress() |
SocketAddress |
getRemoteAddress() |
void |
setContext(Object key,
Object value) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitclose, send, sendpublic NettyChannelSender(org.jboss.netty.channel.Channel channel)
public org.jboss.netty.channel.Channel getChannel()
public SocketAddress getLocalAddress()
getLocalAddress in interface ChannelSenderpublic SocketAddress getRemoteAddress()
getRemoteAddress in interface ChannelSenderpublic Object getContext(Object key)
getContext in interface ChannelSenderpublic void setContext(Object key, Object value)
setContext in interface ChannelSenderCopyright © 2021. All rights reserved.