Phants Client for Redis™*
Classes | Functions
Phants.Redis.SinkAdapters Namespace Reference

Classes

class  BulkStringArraySinkAdapter
 
class  BulkStringSinkAdapter
 
class  IntegerArraySinkAdapter
 
class  IntegerSinkAdapter
 
class  SimpleStringSinkAdapter
 

Functions

delegate void BulkStringArrayCallback (List< byte[]> bulkStrings)
 
delegate void IntegerArrayCallback (List< long > integers)
 
delegate void BulkStringCallback (byte[] bulkString, int size)
 
delegate void ErrorCallback (string error)
 
delegate void IntegerCallback (long integer)
 
delegate void SimpleStringCallback (string simpleString)
 

Detailed Description

Common callbacks for sink adapters.

Function Documentation

delegate void Phants.Redis.SinkAdapters.BulkStringArrayCallback ( List< byte[]>  bulkStrings)

Callback that an instance of BulkStringArraySinkAdapter calls when it has completed parsing an Array of Bulk Strings.

Parameters
bulkStringsThe list of Bulk Strings (represented as byte arrays) returned from Redis.
delegate void Phants.Redis.SinkAdapters.BulkStringCallback ( byte[]  bulkString,
int  size 
)

Called by a BulkStringSinkAdapter when a RESP Bulk String has been received.

delegate void Phants.Redis.SinkAdapters.ErrorCallback ( string  error)

Called by any *SinkAdapter when a RESP Error has been received.

delegate void Phants.Redis.SinkAdapters.IntegerArrayCallback ( List< long >  integers)

Callback that an instance of IntegerArraySinkAdapter calls when it has completed parsing an Array of Integers.

Parameters
integersThe list of Integers returned from Redis.
delegate void Phants.Redis.SinkAdapters.IntegerCallback ( long  integer)

Called by an IntegerSinkAdapter when a RESP Integer has been received.

delegate void Phants.Redis.SinkAdapters.SimpleStringCallback ( string  simpleString)

Called by a SimpleStringSinkAdapter when a RESP Simple String has been received.