BeeeOn Gateway  v2020.3.1-2-g6f737dc
Platform to interconnect the IoT world
Public Types | Public Member Functions | Protected Member Functions
BeeeOn::StreamConsole Class Reference
Inheritance diagram for BeeeOn::StreamConsole:
BeeeOn::Console BeeeOn::StdConsole

Public Types

typedef Poco::SharedPtr
< StreamConsole
Ptr
 
- Public Types inherited from BeeeOn::Console
typedef Poco::SharedPtr< ConsolePtr
 

Public Member Functions

 StreamConsole (std::istream &in, std::ostream &out)
 
void close () override
 
- Public Member Functions inherited from BeeeOn::Console
void setEol (const char c)
 
char eol () const
 
void setSkipEol (const char c)
 
char skipEol () const
 
void setPrompt (const std::string &prompt)
 
std::string prompt () const
 

Protected Member Functions

ConsoleSessionImpl::Ptr openSession () override
 
- Protected Member Functions inherited from BeeeOn::Console
ConsoleSessionImpl::Ptr closedSession ()
 

Member Function Documentation

ConsoleSessionImpl::Ptr StreamConsole::openSession ( )
overrideprotectedvirtual

Waits until the semaphore is ready and then it creates a new instance of the StreamConsoleSessionImpl. The semaphore is set by the StreamConsoleSessionImpl's destructor to make another session available again.

Implements BeeeOn::Console.


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