Files
firmware/components/rpc/include/IRPCServer.h
Johnathon Slightham 2e9004ee34 Reduce DataLink latency
2026-05-19 23:13:24 -04:00

20 lines
359 B
C++

//
// Created by Johnathon Slightham on 2025-05-25.
//
#ifndef IRPCSERVER_H
#define IRPCSERVER_H
#include <memory>
#include <vector>
class IRPCServer {
public:
virtual ~IRPCServer() = default;
virtual void startup() = 0;
virtual void shutdown() = 0;
virtual int send_msg(uint8_t *buffer, size_t size) const = 0;
};
#endif //IRPCSERVER_H