| Constructor and Description |
|---|
RedisClient(RedisBase base,
Socket socket,
ServiceOptions options) |
| Modifier and Type | Method and Description |
|---|---|
void |
close()
Close all the streams used by this client effectively closing the client.
|
void |
run() |
void |
sendResponse(Slice response,
String respondingTo)
Send a response due to a specific command.
|
public RedisClient(RedisBase base, Socket socket, ServiceOptions options) throws IOException
IOExceptionpublic void sendResponse(Slice response, String respondingTo)
response - The respond to send.respondingTo - The reason for sending this responsepublic void close()
Copyright © 2018. All rights reserved.