Defines a route for a single communications element.
More...
#include <routingrules.hpp>
Defines a route for a single communications element.
◆ AttributeIterator
◆ RouteDef
◆ Route()
kanzi::connect::p2p::RoutingRules::Route::Route |
( |
RouteDef | r, |
|
|
string | link ) |
|
inline |
◆ beginAttributes()
Return beginning of attributes.
- Returns
- iterator to beginning of attributes
◆ directRouteEnabled()
bool kanzi::connect::p2p::RoutingRules::Route::directRouteEnabled |
( |
| ) |
const |
|
inline |
Is direct route enabled.
- Returns
- true if direct route enabled
◆ directRoutePossible()
bool kanzi::connect::p2p::RoutingRules::Route::directRoutePossible |
( |
| ) |
const |
|
inline |
Determines whether route is direct and it is possible.
- Returns
- true if direct route is possible
◆ endAttributes()
Return end of attributes iterator.
- Returns
- iterator to end of attributes
◆ equals()
bool kanzi::connect::p2p::RoutingRules::Route::equals |
( |
const RoutingRules::Route & | other | ) |
const |
|
inline |
Compares routes.
- Parameters
-
other | the other route to compare this object to |
- Returns
- true if routes equal.
◆ getAttributes()
const unordered_map< string, string > & kanzi::connect::p2p::RoutingRules::Route::getAttributes |
( |
| ) |
const |
|
inline |
Retrieve attribute references.
- Returns
- reference to attribute container
◆ getBearer()
const string & kanzi::connect::p2p::RoutingRules::Route::getBearer |
( |
| ) |
const |
|
inline |
Retrieve bearer information.
- Returns
- bearer
◆ getEndpoint()
shared_ptr< Endpoint > kanzi::connect::p2p::RoutingRules::Route::getEndpoint |
( |
| ) |
const |
|
inline |
Getter for endpoint.
- Returns
- endpoint information
◆ getLink()
const string & kanzi::connect::p2p::RoutingRules::Route::getLink |
( |
| ) |
const |
|
inline |
Getter for link information.
- Returns
- link information
◆ getReliable()
bool kanzi::connect::p2p::RoutingRules::Route::getReliable |
( |
| ) |
const |
|
inline |
◆ getRoute()
RouteDef kanzi::connect::p2p::RoutingRules::Route::getRoute |
( |
| ) |
const |
|
inline |
Getter for route.
- Returns
- route information
◆ getSubject()
const string & kanzi::connect::p2p::RoutingRules::Route::getSubject |
( |
| ) |
const |
|
inline |
Getter for subject information.
- Returns
- subject information
◆ serverRouteEnabled()
bool kanzi::connect::p2p::RoutingRules::Route::serverRouteEnabled |
( |
| ) |
const |
|
inline |
Routing via server enabled.
- Returns
- true if route via server enabled.
◆ setAttributes()
void kanzi::connect::p2p::RoutingRules::Route::setAttributes |
( |
const unordered_map< string, string > & | attributes | ) |
|
|
inline |
Stores the attributes specific for the route.
- Parameters
-
◆ setBearer()
void kanzi::connect::p2p::RoutingRules::Route::setBearer |
( |
string | bearer | ) |
|
|
inline |
Stores bearer information.
- Parameters
-
bearer | the bearer information |
◆ setEndpoint()
void kanzi::connect::p2p::RoutingRules::Route::setEndpoint |
( |
shared_ptr< Endpoint > & | ep | ) |
|
|
inline |
Setter for endpoint.
- Parameters
-
◆ setLink()
void kanzi::connect::p2p::RoutingRules::Route::setLink |
( |
const string & | link | ) |
|
|
inline |
Setter for link.
- Parameters
-
◆ setReliable()
void kanzi::connect::p2p::RoutingRules::Route::setReliable |
( |
bool | reliable | ) |
|
|
inline |
◆ setRoute()
void kanzi::connect::p2p::RoutingRules::Route::setRoute |
( |
RouteDef | route | ) |
|
|
inline |
Setter for route information.
- Parameters
-
◆ setSubject()
void kanzi::connect::p2p::RoutingRules::Route::setSubject |
( |
const string & | subject | ) |
|
|
inline |
Setter for subject information.
- Parameters
-
subject | subject information |
The documentation for this class was generated from the following file:
- connect/p2p/routingrules.hpp