Poco::Redis

class RedisStreamBuf

Library: Redis
Package: Redis
Header: Poco/Redis/RedisStream.h

Description

Inheritance

Direct Base Classes: BufferedStreamBuf

All Base Classes: Poco::BufferedStreamBuf

Member Summary

Member Functions: readFromDevice, readLine, writeToDevice

Constructors

RedisStreamBuf

RedisStreamBuf(
    Net::StreamSocket & redis
);

Constructor

Destructor

~RedisStreamBuf

~RedisStreamBuf();

Destructor

Member Functions

readLine

std::string readLine();

Reads a line from Redis (until \r\n is encountered).

readFromDevice protected

int readFromDevice(
    char * buffer,
    std::streamsize length
);

writeToDevice protected

int writeToDevice(
    const char * buffer,
    std::streamsize length
);

Securely control IoT edge devices from anywhere   Connect a Device