Phants Client for Redis™*
|
Public Member Functions | |
IntegerSinkAdapter (IntegerCallback integerCallback, ErrorCallback errorCallback) | |
void | Integer (long i) |
void | Error (string error) |
An implementation of the IntegerSink interface that is designed to handle RESP Integers.
|
inline |
Constructs an IntegerSinkAdapter.
integerCallback | Delegate method that is called when a RESP Integer has been received. |
errorCallback | Delegate method that is called when a RESP Error has been received. |
|
inline |
Called when an Error has been parsed.
error | The error string that was parsed. |
Implements ErrorParser.
|
inline |
Called when an Integer has been parsed.
i | The value of the parsed Integer. |
Implements IntegerParser.