BlinkenArea - GitList
Repositories
Blog
Wiki
Blinker
Code
Commits
Branches
Tags
Search
Tree:
362c1f4
Branches
Tags
master
Blinker
src
common
OpReqIf.h
update copyright header
Stefan Schuermans
commited
362c1f4
at 2019-05-04 17:17:10
OpReqIf.h
Blame
History
Raw
/* Blinker Copyright 2011-2019 Stefan Schuermans <stefan@blinkenarea.org> Copyleft GNU public license - http://www.gnu.org/copyleft/gpl.html a blinkenarea.org project */ #ifndef BLINKER_OPREQIF_H #define BLINKER_OPREQIF_H #include <string> #include "OpConnIf.h" namespace Blinker { class OpConn; /// operator connection request interface class OpReqIf: public OpConnIf { public: /// constructor OpReqIf(); /// virtual destructor virtual ~OpReqIf(); public: /** * @brief check if accepting new operator connction is possible * @param[in] name operator interface name * @return if accepting new connection is possible */ virtual bool acceptNewOpConn(const std::string &name) = 0; /** * @brief new operator connection * @param[in] name operator interface name * @param[in] pConn operator connection object * * The new connection may not yet be used for sending inside this callback. */ virtual void newOpConn(const std::string &name, OpConn *pConn) = 0; }; // class OpReqIf } // namespace Blinker #endif // #ifndef BLINKER_OPREQIF_H