SOME/IP publish/subscribe server. More...
#include <someip_pubsub_server.h>
Public Member Functions | |
SomeIpPubSubServer (helper::NetworkLayer< sd::SomeIpSdMessage > *networkLayer, uint16_t serviceId, uint16_t instanceId, uint8_t majorVersion, uint16_t eventgroupId, helper::Ipv4Address ipAddress, uint16_t port) | |
Constructor. More... | |
void | Start () |
Start the server. | |
helper::PubSubState | GetState () const noexcept |
Get the current server state. More... | |
void | Stop () |
Stop the server. | |
SOME/IP publish/subscribe server.
ara::com::someip::pubsub::SomeIpPubSubServer::SomeIpPubSubServer | ( | helper::NetworkLayer< sd::SomeIpSdMessage > * | networkLayer, |
uint16_t | serviceId, | ||
uint16_t | instanceId, | ||
uint8_t | majorVersion, | ||
uint16_t | eventgroupId, | ||
helper::Ipv4Address | ipAddress, | ||
uint16_t | port | ||
) |
Constructor.
networkLayer | Network communication abstraction layer |
serviceId | Service ID |
instanceId | Service instance ID |
majorVersion | Service major version |
eventgroupId | Service event-group ID |
ipAddress | Multicast IP address that clients should listen to for receiving events |
port | Multicast port number that clients should listen to for receiving events |
|
noexcept |
Get the current server state.