@Override
    public RemotingCommand createSendFailedResponse(final InetSocketAddress address,
                                                    Throwable throwable) {
        ResponseCommand responseCommand = new ResponseCommand();
        responseCommand.setResponseStatus(ResponseStatus.CLIENT_SEND_ERROR);
        responseCommand.setResponseTimeMillis(System.currentTimeMillis());
        responseCommand.setResponseHost(address);
        responseCommand.setCause(throwable);
        return responseCommand;
    }
command factory for rpc protocol

@author tsui
@version $Id: RpcCommandFactory.java, v 0.1 2018-03-27 21:37 tsui Exp $
src/main/java/com/alipay/remoting/rpc/RpcCommandFactory.java