@Override protected void doSessionIdle(HttpAcceptSession session, IdleStatus status) throws Exception { if (status == IdleStatus.WRITER_IDLE) { session.write(WsCommandMessage.NOOP); } super.doSessionIdle(session, status); }
@Override protected void doSessionOpened(IoSessionEx session) throws Exception { assertTrue(checkSubject(session)); super.doSessionCreated(session); }