@Override
 public void sessionIdle(IoSession session, IdleStatus status) throws Exception { // (6)
   System.out.println(
       "[Server] IDLE " + session.getRemoteAddress() + session.getIdleCount(status));
 }
コード例 #2
0
 public void sessionIdle(IoSession session, IdleStatus status) throws Exception {
   // TODO Auto-generated method stub
   System.out.println("IDLE " + session.getIdleCount(status));
 }
コード例 #3
0
 @Override
 public void sessionIdle(IoSession session, IdleStatus status) throws Exception {
   System.out.println(" Client " + session.getId() + "|IDLE " + session.getIdleCount(status));
 }
コード例 #4
0
 @Override
 public void sessionIdle(IoSession session, IdleStatus status) throws Exception {
   log.debug("IDLE " + session.getIdleCount(status));
   super.sessionIdle(session, status);
 }