Generalize the EndpointServer to require less boilerplate.

Classes can now inherit from the EndpointServer and just implement the
HandleRequest function.
This commit is contained in:
Drew Galbraith 2023-08-01 15:52:08 -07:00
parent 847d37addc
commit caccb08e16
14 changed files with 215 additions and 147 deletions

View file

@ -5,7 +5,7 @@
#define DENALI_INVALID 0
#define DENALI_READ 100
struct DenaliRead {
struct DenaliReadRequest {
uint64_t request_type = DENALI_READ;
uint64_t device_id;