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

Public Member Functions

 SimpleStringSinkAdapter (SimpleStringCallback simpleStringCallback, ErrorCallback errorCallback)
 
void SimpleString (string s)
 
void Error (string error)
 

Detailed Description

An implementation of the SimpleStringSink interface that is designed to handle RESP Simple Strings.

Constructor & Destructor Documentation

SimpleStringSinkAdapter ( SimpleStringCallback  simpleStringCallback,
ErrorCallback  errorCallback 
)
inline

Constructs an SimpleStringSinkAdapter.

Parameters
simpleStringCallbackDelegate method that is called when a RESP Simple String 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 SimpleString ( string  s)
inline

Called when a Simple String has been parsed.

Parameters
sThe string that was parsed.

Implements SimpleStringParser.


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