1#ifndef EXECUTION_SERVER_H
2#define EXECUTION_SERVER_H
7#include "./execution_client.h"
8#include "../com/someip/rpc/rpc_server.h"
20 const uint16_t cService{1};
21 const uint16_t cMethodId{1};
25 std::map<std::string, ExecutionState> mExecutionStates;
27 static void injectErrorCode(
28 std::vector<uint8_t> &payload,
ExecErrc errorCode);
30 bool handleExecutionStateReport(
31 const std::vector<uint8_t> &rpcRequestPayload,
32 std::vector<uint8_t> &rpcResponsePayload);
SOME/IP RPC server.
Definition: rpc_server.h:23
A class to handle the execution client requests at the EM side.
Definition: execution_server.h:18
ExecutionServer(com::someip::rpc::RpcServer *rpcServer)
Constructor.
Definition: execution_server.cpp:7
bool TryGetExecutionState(std::string id, ExecutionState &state)
Try to get the execution state of an instance specfier.
Definition: execution_server.cpp:86
ExecutionState
Adaptive application internal state.
Definition: execution_client.h:16
ExecErrc
Execution Management error codes.
Definition: exec_error_domain.h:13