public void fireChannelIdle(IdleState state, long currentTime) {
        switch (state) {
            case BOTH_IDLE:
                idleInfo.setLastBothIdleTime(currentTime);
                break;
            case WRITER_IDLE:
                idleInfo.setLastWriteIdleTime(currentTime);
                break;
            case READER_IDLE:
                idleInfo.setLastReadIdleTime(currentTime);
                break;
        }
        eventHandler().channelIdle(this, state);
    }
@author Robert HG (254963746@qq.com) on 1/24/16.
lts-core/src/main/java/com/github/ltsopensource/nio/channel/NioChannelImpl.java