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

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 
)
inline

Constructs an IntegerSinkAdapter.

Parameters
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)
inline

Called when an Error has been parsed.

Parameters
errorThe error string that was parsed.

Implements ErrorParser.

void Integer ( long  i)
inline

Called when an Integer has been parsed.

Parameters
iThe value of the parsed Integer.

Implements IntegerParser.


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