Class to describe the location of a service.
More...
#include <ServiceLocator.hpp>
Class to describe the location of a service.
| Enumerator |
|---|
| SIGNATURE_TYPE |
|
| SERVICE_SIGNATURE |
|
| SERVICE_ADDRESS |
|
| fipa::services::ServiceLocation::ServiceLocation |
( |
| ) |
|
|
inline |
The default constructor for service location
| fipa::services::ServiceLocation::ServiceLocation |
( |
const std::string & |
serviceAddress, |
|
|
const std::string & |
signatureType = "", |
|
|
const std::string & |
serviceSignature = "" |
|
) |
| |
|
inline |
| ServiceLocation fipa::services::ServiceLocation::fromString |
( |
const std::string & |
locationString | ) |
|
|
static |
Create service location from string
- Parameters
-
| stringified | service location |
Get the content of a specific field
- Parameters
-
| field | Field for which the value should be retrieved |
- Returns
- content of field
| std::string fipa::services::ServiceLocation::getProtocol |
( |
| ) |
const |
Helper function to retrieve the underlying transport protocol that is part of the service address
| std::string fipa::services::ServiceLocation::getServiceAddress |
( |
| ) |
const |
|
inline |
Get the service address
- Returns
- service address
| std::string fipa::services::ServiceLocation::getServiceSignature |
( |
| ) |
const |
|
inline |
Get the service signature
- Returns
- service signature
| std::string fipa::services::ServiceLocation::getSignatureType |
( |
| ) |
const |
|
inline |
Get the signature type of this service location
- Returns
- signature type
| bool fipa::services::ServiceLocation::operator== |
( |
const ServiceLocation & |
other | ) |
const |
Equals operator for service location
- Returns
- true if service locations are equal
| std::string fipa::services::ServiceLocation::toString |
( |
| ) |
const |
The documentation for this class was generated from the following files: