#include StreamCommunicator::StreamCommunicator(Stream &s_out) : stream(s_out) { } void StreamCommunicator::sendMessage(const char message[]) { stream.println(message); } Stream *StreamCommunicator::getStream() { return &stream; }