2016-06-15 23:48:41 +02:00
|
|
|
#include <framework/serviceinterface/ServiceInterfaceStream.h>
|
|
|
|
|
|
|
|
void ServiceInterfaceStream::setActive( bool myActive) {
|
|
|
|
this->buf.isActive = myActive;
|
|
|
|
}
|
|
|
|
|
|
|
|
ServiceInterfaceStream::ServiceInterfaceStream(std::string set_message,
|
2020-04-12 23:06:57 +02:00
|
|
|
bool addCrToPreamble, uint16_t port) :
|
2020-04-10 17:06:06 +02:00
|
|
|
std::basic_ostream<char, std::char_traits<char>>(&buf),
|
2020-04-12 23:06:57 +02:00
|
|
|
buf(set_message, port, addCrToPreamble) {
|
2016-06-15 23:48:41 +02:00
|
|
|
}
|