RTBKit  0.9
Open-source framework to create real-time ad bidding systems.
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator
Public Member Functions | Public Attributes | Static Public Attributes
Redis::Result Struct Reference

#include <redis.h>

List of all members.

Public Member Functions

 Result (const std::string &error)
 Result (const Reply &reply)
Result deepCopy () const
bool ok () const
bool timedOut () const
 JML_IMPLEMENT_OPERATOR_BOOL (ok())
const Replyreply () const
const std::string & error () const

Public Attributes

Reply reply_
std::string error_

Static Public Attributes

static const std::string timeoutError

Detailed Description

Result of a command, with both a reply and an error code. If there is a timeout, then the error code will be "timeout".

Definition at line 127 of file redis.h.


Member Data Documentation

const std::string Redis::Result::timeoutError [static]

The error field of a command result will be equal to this if there was a timeout.

Definition at line 155 of file redis.h.


The documentation for this struct was generated from the following files:
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator