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