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

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 

Constructs an SimpleStringSinkAdapter.

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)

Called when an Error has been parsed.

errorThe error string that was parsed.

Implements ErrorParser.

void SimpleString ( string  s)

Called when a Simple String has been parsed.

sThe string that was parsed.

Implements SimpleStringParser.

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