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:
parent
847d37addc
commit
caccb08e16
14 changed files with 215 additions and 147 deletions
|
|
@ -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;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue