@Override
    public void messageReceived(IoSession session, Object message) throws Exception {
        if (message != null && message instanceof RemotingCommand) {
            remoting.processMessageReceived(new MinaChannel(session), (RemotingCommand) message);
        }
    }
@author Robert HG (254963746@qq.com) on 11/6/15.
lts-core/src/main/java/com/github/ltsopensource/remoting/mina/MinaHandler.java