14 lines
323 B
C
14 lines
323 B
C
|
#include <Communicator.h>
|
||
|
#include "Stream.h"
|
||
|
|
||
|
class StreamCommunicator : public Communicator
|
||
|
{
|
||
|
protected:
|
||
|
Stream &stream;
|
||
|
|
||
|
public:
|
||
|
StreamCommunicator(Stream &s_out, __SIZE_TYPE__ bufferSize);
|
||
|
void sendMessage(int *values, int numberOfValues);
|
||
|
void sendMessage(char *message);
|
||
|
char *receiveMessage();
|
||
|
};
|