forked from ROMEO/obsw
17 lines
373 B
C++
17 lines
373 B
C++
#pragma once
|
|
|
|
#include <fsfw/devicehandlers/CookieIF.h>
|
|
#include <stddef.h>
|
|
|
|
class SerialTCPCookie : public CookieIF {
|
|
public:
|
|
SerialTCPCookie(const char* host, uint16_t port, bool flush, size_t bufferSize);
|
|
virtual ~SerialTCPCookie();
|
|
|
|
const char* const host;
|
|
const uint16_t port;
|
|
const bool flush;
|
|
uint8_t *buffer;
|
|
const size_t bufferSize;
|
|
int socket;
|
|
}; |