Phants Client for Redis™*
Public Member Functions | List of all members
IntegerSinkAdapter Class Reference
Inheritance diagram for IntegerSinkAdapter:
Inheritance graph
Collaboration diagram for IntegerSinkAdapter:
Collaboration graph

Public Member Functions

 IntegerSinkAdapter (IntegerCallback integerCallback, ErrorCallback errorCallback)
void Integer (long i)
void Error (string error)

Detailed Description

An implementation of the IntegerSink interface that is designed to handle RESP Integers.

Constructor & Destructor Documentation

IntegerSinkAdapter ( IntegerCallback  integerCallback,
ErrorCallback  errorCallback 

Constructs an IntegerSinkAdapter.

integerCallbackDelegate method that is called when a RESP Integer has been received.
errorCallbackDelegate method that is called when a RESP Error has been received.

Member Function Documentation

void Error ( string  error)

Called when an Error has been parsed.

errorThe error string that was parsed.

Implements ErrorParser.

void Integer ( long  i)

Called when an Integer has been parsed.

iThe value of the parsed Integer.

Implements IntegerParser.

The documentation for this class was generated from the following file: