public ChannelFuture write(RemotingCommand msg) {
        return this.channelContext.write(msg);
    }
Wrap the write method.

@param msg as msg
@return channel future
src/main/java/com/alipay/remoting/RemotingContext.java