Poco::Netconf

class NetconfStreamBuf

Library: Netconf
Package: Netconf
Header: Poco/Netconf/NetconfStream.h

Description

The sole purpose of this stream buffer is to detect end-of-stream

Inheritance

Direct Base Classes: Poco::UnbufferedStreamBuf

All Base Classes: Poco::UnbufferedStreamBuf

Member Summary

Member Functions: close, detectEOS, readFromDevice, readOne, writeToDevice

Constructors

NetconfStreamBuf

NetconfStreamBuf(
    std::istream & istr
);

Creates the NetconfStreamBuf and connects it to the given input stream.

NetconfStreamBuf

NetconfStreamBuf(
    std::ostream & ostr
);

Creates the NetconfStreamBuf and connects it to the given output stream.

Destructor

~NetconfStreamBuf

~NetconfStreamBuf();

Destroys the NetconfStreamBuf.

Member Functions

close

void close();

Closes the stream

detectEOS protected

bool detectEOS();

readFromDevice protected

int readFromDevice();

readOne protected inline

int readOne();

writeToDevice protected inline

int writeToDevice(
    char c
);