SOME/IP service discovery agent (i.e., a server or a client) More...
#include <someip_sd_agent.h>
Public Member Functions | |
| SomeIpSdAgent (helper::NetworkLayer< SomeIpSdMessage > *networkLayer) | |
| Constructor. More... | |
| void | Start () |
| Start the service discovery agent. | |
| T | GetState () const noexcept |
| Get the current server state. More... | |
| void | Join () |
| Join to the timer's thread. | |
| void | Stop () |
| Stop the service discovery agent. More... | |
Protected Member Functions | |
| virtual void | StartAgent (T state)=0 |
| Start the service discovery agent. More... | |
| virtual void | StopAgent ()=0 |
| Stop the service discovery agent. More... | |
Protected Attributes | |
| helper::FiniteStateMachine< T > | StateMachine |
| Agent's FSM. | |
| std::future< void > | Future |
| Agent running state future object. | |
| helper::NetworkLayer< SomeIpSdMessage > * | CommunicationLayer |
| Network communication abstraction layer. | |
SOME/IP service discovery agent (i.e., a server or a client)
| T | Agent state enumeration type |
|
inline |
Constructor.
| networkLayer | Network communication abstraction layer |
|
inlinenoexcept |
Get the current server state.
|
protectedpure virtual |
Start the service discovery agent.
| state | Current FSM state before start |
Implemented in ara::com::someip::sd::SomeIpSdClient, and ara::com::someip::sd::SomeIpSdServer.
|
inline |
Stop the service discovery agent.
|
protectedpure virtual |
Stop the service discovery agent.
| state | Current FSM state before stop |
Implemented in ara::com::someip::sd::SomeIpSdClient, and ara::com::someip::sd::SomeIpSdServer.