public class ChannelUtil extends Object
| Constructor and Description |
|---|
ChannelUtil() |
| Modifier and Type | Method and Description |
|---|---|
static String |
createChannelName(org.jboss.netty.channel.Channel channel)
Create a name for the channel based on the remote host's IP and port.
|
static String |
getChannelRemoteHost(org.jboss.netty.channel.Channel channel) |
static int |
getChannelRemotePort(org.jboss.netty.channel.Channel channel) |
public static String createChannelName(org.jboss.netty.channel.Channel channel)
public static String getChannelRemoteHost(org.jboss.netty.channel.Channel channel)
public static int getChannelRemotePort(org.jboss.netty.channel.Channel channel)
Copyright © 2009-2014 Cloudhopper by Twitter. All Rights Reserved.