Arduino-Redis
A Redis library for Arduino.
|
A Bulk String: https://redis.io/topics/protocol#resp-bulk-strings
Definition at line 78 of file RedisInternal.h.
Public Member Functions | |
RedisBulkString (Client &c) | |
RedisBulkString (String &s) | |
~RedisBulkString () override | |
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 RedisObject | |
String | data |
Type | _type = Type::NoType |
#include <RedisInternal.h>
|
inline |
Definition at line 81 of file RedisInternal.h.
|
inline |
Definition at line 82 of file RedisInternal.h.
|
inlineoverride |
Definition at line 83 of file RedisInternal.h.
|
overridevirtual |
Initialize a RedisObject instance from the bytestream represented by 'client'. Only does very basic (e.g. SimpleString-style) parsing of the object from the byte stream. Concrete subclasses are expected to override this to provide class-specific parsing & initialization logic.
Reimplemented from RedisObject.
Definition at line 23 of file RedisInternal.cpp.
|
overridevirtual |
Produce the Redis serialization protocol (RESP) representation. Must be overridden.
Implements RedisObject.
Definition at line 48 of file RedisInternal.cpp.