src/main/java/ai/grakn/redismock/RedisClient.java
public void sendResponse(Slice response, String respondingTo) {
        try {
            if (!response.equals(Response.SKIP)) {
                out.write(response.data());
            }
        } catch (IOException e){
            LOG.error("unable to send [" + response + "] as response to [" + respondingTo +"]", e);
        }
    }
/**
     * Send a response due to a specific command.
     *
     * @param response The respond to send.
     * @param respondingTo The reason for sending this response
     */
Send a response due to a specific command.
@param response The respond to send.
@param respondingTo The reason for sending this response
Send a response due to a specific command . @param response The respond to send . @param respondingTo The reason for sending this response
public void sendResponse(Slice response, String respondingTo) {
        try {
            if (!response.equals(Response.SKIP)) {
                out.write(response.data());
            }
        } catch (IOException e){
            LOG.error("unable to send [" + response + "] as response to [" + respondingTo +"]", e);
        }
    }
public void sendResponse ( Slice response , String respondingTo ) { try { if ( ! response . equals ( Response . SKIP ) ) { out . write ( response . data ( ) ) ; } } catch ( IOException e ) { LOG . error ( "unable to send [" + response + "] as response to [" + respondingTo + "]" , e ) ; } }
Send a response due to a specific command.
Send a response due to a specific command .