Arduino-Redis
A Redis library for Arduino.
|
A Command (a specialized Array subclass): https://redis.io/topics/protocol#sending-commands-to-a-redis-server
Definition at line 158 of file RedisInternal.h.
Public Member Functions | |
RedisCommand (String command) | |
RedisCommand (String command, ArgList args) | |
~RedisCommand () override | |
std::shared_ptr< RedisObject > | issue (Client &cmdClient) |
template<typename T > | |
T | issue_typed (Client &cmdClient) |
template<> | |
int | issue_typed (Client &cmdClient) |
template<> | |
bool | issue_typed (Client &cmdClient) |
template<> | |
String | issue_typed (Client &cmdClient) |
Public Member Functions inherited from RedisArray | |
RedisArray () | |
RedisArray (Client &c) | |
~RedisArray () override | |
void | add (std::shared_ptr< RedisObject > param) |
operator std::vector< String > () const | |
operator std::vector< std::shared_ptr< RedisObject >> () const | |
virtual void | init (Client &client) override |
virtual String | RESP () override |
Public Member Functions inherited from RedisObject | |
RedisObject () | |
RedisObject (Type tc) | |
RedisObject (Type tc, Client &c) | |
virtual | ~RedisObject () |
virtual | operator String () |
Type | type () const |
Additional Inherited Members | |
Public Types inherited from RedisObject | |
enum | Type { NoType = '\0', SimpleString = '+', Error = '-', Integer = ':', BulkString = '$', Array = '*', InternalError = '!' } |
Static Public Member Functions inherited from RedisObject | |
static std::shared_ptr< RedisObject > | parseTypeNonBlocking (Client &) |
static std::shared_ptr< RedisObject > | parseType (Client &) |
Protected Attributes inherited from RedisArray | |
std::vector< std::shared_ptr< RedisObject > > | vec |
Protected Attributes inherited from RedisObject | |
String | data |
Type | _type = Type::NoType |
#include <RedisInternal.h>
|
inline |
Definition at line 161 of file RedisInternal.h.
|
inline |
Definition at line 166 of file RedisInternal.h.
|
inlineoverride |
Definition at line 175 of file RedisInternal.h.
std::shared_ptr< RedisObject > RedisCommand::issue | ( | Client & | cmdClient | ) |
Issue the command on the bytestream represented by cmdClient
.
cmdClient | The client object representing the bytestream connection to a Redis server. |
Definition at line 101 of file RedisInternal.cpp.
int RedisCommand::issue_typed | ( | Client & | cmdClient | ) |
Definition at line 115 of file RedisInternal.cpp.
bool RedisCommand::issue_typed | ( | Client & | cmdClient | ) |
Definition at line 126 of file RedisInternal.cpp.
String RedisCommand::issue_typed | ( | Client & | cmdClient | ) |
Definition at line 135 of file RedisInternal.cpp.
T RedisCommand::issue_typed | ( | Client & | cmdClient | ) |