public static class Server.ConnectionTracker extends java.lang.Object implements Connection.Tracker
| Modifier and Type | Field and Description |
|---|---|
org.jboss.netty.channel.group.ChannelGroup |
allChannels |
| Constructor and Description |
|---|
Server.ConnectionTracker() |
| Modifier and Type | Method and Description |
|---|---|
void |
addConnection(org.jboss.netty.channel.Channel ch,
Connection connection) |
void |
closeAll() |
void |
register(Event.Type type,
org.jboss.netty.channel.Channel ch) |
void |
send(Event event) |
void |
unregister(org.jboss.netty.channel.Channel ch) |
public void addConnection(org.jboss.netty.channel.Channel ch,
Connection connection)
addConnection in interface Connection.Trackerpublic void register(Event.Type type, org.jboss.netty.channel.Channel ch)
public void unregister(org.jboss.netty.channel.Channel ch)
public void send(Event event)
public void closeAll()
closeAll in interface Connection.TrackerCopyright © 2013 The Apache Software Foundation