public void setSessionManager(IoSessionManager sessionManager) {
this.sessionManager = sessionManager;
}
private void shutdownSessions(boolean blockUntilComplete) {
CougarProtocol cougarProtocol = (CougarProtocol) socketAcceptor.getDefaultConfig().getFilterChain().get("protocol");
sessionManager.shutdownSessions(socketAcceptor.getManagedSessions(socketAddress), cougarProtocol, this.serverHandler, blockUntilComplete);
}