#include <network_service_discovery.h>
A service announcement request to be passed to NetworkServiceBusInterface::Announce. Contains a service identifier and optionally custom data in the form of key-value pairs.
Classes | |
struct | TimingProperties |
Public Member Functions | |
MAXON_METHOD ResourceIdentifier | GetServiceIdentifier () const |
MAXON_METHOD void | SetTimingProperties (TimingProperties props) |
MAXON_METHOD TimingProperties | GetTimingProperties () const |
MAXON_METHOD void | SetCustomData (ServiceDiscovery::DataMap &&customData) |
MAXON_METHOD const ServiceDiscovery::DataMap & | GetCustomData () const |
Static Public Member Functions | |
static MAXON_METHOD ServiceAnnouncementRequestInterface * | Alloc (MAXON_SOURCE_LOCATION_DECLARATION, const ResourceIdentifier &identifier) |
Private Member Functions | |
MAXON_INTERFACE_NONVIRTUAL (ServiceAnnouncementRequestInterface, MAXON_REFERENCE_NORMAL, "net.maxon.interface.serviceannouncementrequest") | |
|
private |
|
static |
Allocates a service announcement request for a service described by the given identifier.
MAXON_METHOD ResourceIdentifier GetServiceIdentifier | ( | ) | const |
Returns the service identifier of this request.
MAXON_METHOD void SetTimingProperties | ( | TimingProperties | props | ) |
Sets the timing properties of this request.
MAXON_METHOD TimingProperties GetTimingProperties | ( | ) | const |
Returns the timing properties of this request.
MAXON_METHOD void SetCustomData | ( | ServiceDiscovery::DataMap && | customData | ) |
Sets custom data associated with this announcement request, provided as key/value pairs.
MAXON_METHOD const ServiceDiscovery::DataMap& GetCustomData | ( | ) | const |
Returns the custom data of this request.