1#ifndef SD_NETWORK_LAYER_H
2#define SD_NETWORK_LAYER_H
4#include <asyncbsdsocket/poller.h>
5#include <asyncbsdsocket/udp_client.h>
6#include "../../helper/concurrent_queue.h"
7#include "../../helper/network_layer.h"
8#include "./someip_sd_message.h"
24 static const size_t cBufferSize;
25 static const std::string cAnyIpAddress;
27 const std::string cNicIpAddress;
28 const std::string cMulticastGroup;
32 AsyncBsdSocketLib::Poller *
const mPoller;
33 AsyncBsdSocketLib::UdpClient mUdpSocket;
46 AsyncBsdSocketLib::Poller *poller,
47 std::string nicIpAddress,
48 std::string multicastGroup,
Thread-safe wrapper around STL queue using locking mechanism.
Definition: concurrent_queue.h:18
Network communication abstraction layer.
Definition: network_layer.h:18
SOME/IP service discovery multicast network layer.
Definition: sd_network_layer.h:22
SdNetworkLayer(AsyncBsdSocketLib::Poller *poller, std::string nicIpAddress, std::string multicastGroup, uint16_t port)
Constructor.
Definition: sd_network_layer.cpp:15
SOME/IP service discovery message.
Definition: someip_sd_message.h:18