119120121122123124125126127
public int getAcceptedCount() { return counter.get(); } protected Session newSession(SocketChannel sc) { SocketChannelSession session = new SocketChannelSession(); session.setChannel(sc); return session; }