Files
firmware/components/rpc/include/IRPCServer.h
Johnathon Slightham c14c82ce9c Reduce DataLink latency
2026-01-30 01:44:42 -05: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