1#ifndef SOMEIP_SD_SERVER
2#define SOMEIP_SD_SERVER
4#include "../../helper/concurrent_queue.h"
5#include "../../helper/ipv4_address.h"
6#include "../../entry/service_entry.h"
7#include "../../option/ipv4_endpoint_option.h"
8#include "./fsm/notready_state.h"
9#include "./fsm/initial_wait_state.h"
10#include "./fsm/repetition_state.h"
11#include "./fsm/main_state.h"
12#include "./someip_sd_agent.h"
33 const uint16_t mServiceId;
34 const uint16_t mInstanceId;
35 const uint8_t mMajorVersion;
36 const uint32_t mMinorVersion;
41 void onServiceStopped();
68 uint32_t minorVersion,
73 int repetitionBaseDelay = 30,
74 int cycleOfferDelay = 1000,
75 uint32_t repetitionMax = 3);
Thread-safe wrapper around STL queue using locking mechanism.
Definition: concurrent_queue.h:18
SOME/IP service discovery agent (i.e., a server or a client)
Definition: someip_sd_agent.h:21
SOME/IP service discovery message.
Definition: someip_sd_message.h:18
SOME/IP service discovery server.
Definition: someip_sd_server.h:24
void StopAgent() override
Stop the service discovery agent.
Definition: someip_sd_server.cpp:173
void StartAgent(helper::SdServerState state) override
Start the service discovery agent.
Definition: someip_sd_server.cpp:160
Server's or client's service initial wait state.
Definition: initial_wait_state.h:24
Server's main state.
Definition: main_state.h:19
Machine state when the server's service is down or stopped.
Definition: notready_state.h:19
Server's or client's service repetition state.
Definition: repetition_state.h:24
SdServerState
Service discovery server machine state.
Definition: machine_state.h:15
IPv4 address wrapper helper.
Definition: ipv4_address.h:16