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

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