mirror of
https://github.com/BotChain-Robots/firmware.git
synced 2026-07-08 17:47:21 +02:00
Reduce DataLink latency
This commit is contained in:
@@ -5,12 +5,15 @@
|
||||
#ifndef IRPCSERVER_H
|
||||
#define IRPCSERVER_H
|
||||
|
||||
#include <memory>
|
||||
#include <vector>
|
||||
|
||||
class IRPCServer {
|
||||
public:
|
||||
public:
|
||||
virtual ~IRPCServer() = default;
|
||||
virtual void startup() = 0;
|
||||
virtual void shutdown() = 0;
|
||||
virtual int send_msg(char* buffer, uint32_t length) const = 0;
|
||||
virtual int send_msg(uint8_t *buffer, size_t size) const = 0;
|
||||
};
|
||||
|
||||
#endif //IRPCSERVER_H
|
||||
|
||||
Reference in New Issue
Block a user