BeeeOn Gateway  v2020.3.1-2-g6f737dc
Platform to interconnect the IoT world
Public Member Functions
BeeeOn::Console::ClosedConsoleSessionImpl Class Reference
Inheritance diagram for BeeeOn::Console::ClosedConsoleSessionImpl:
BeeeOn::ConsoleSessionImpl

Public Member Functions

std::string readUntil (const char c) override
 
std::string readBytes (const unsigned int length) override
 
void print (const std::string &text, bool newline=true) override
 
bool eof () override
 

Additional Inherited Members

- Public Types inherited from BeeeOn::ConsoleSessionImpl
typedef Poco::SharedPtr
< ConsoleSessionImpl
Ptr
 
- Protected Member Functions inherited from BeeeOn::ConsoleSessionImpl
std::string iosReadUntil (std::istream &in, const char c)
 
std::string iosReadBytes (std::istream &in, const unsigned int length)
 
void iosPrint (std::ostream &out, const std::string &text, bool newline)
 

Member Function Documentation

bool Console::ClosedConsoleSessionImpl::eof ( )
overridevirtual

Return true if the session cannot read any data anymore.

Reimplemented from BeeeOn::ConsoleSessionImpl.

void Console::ClosedConsoleSessionImpl::print ( const std::string &  text,
bool  newline = true 
)
overridevirtual

Print the given string. The newline can be optionally appended.

Implements BeeeOn::ConsoleSessionImpl.

string Console::ClosedConsoleSessionImpl::readBytes ( const unsigned int  length)
overridevirtual

Read the given amount of bytes.

Implements BeeeOn::ConsoleSessionImpl.

string Console::ClosedConsoleSessionImpl::readUntil ( const char  c)
overridevirtual

Read and return data until the character c is reached.

Implements BeeeOn::ConsoleSessionImpl.


The documentation for this class was generated from the following files: