Class NetworkFlowEndpoint

Class Documentation

class NetworkFlowEndpoint

Class describes a network flow endpoint based on the counterpart definition in the RMW layer.

Public Functions

inline explicit NetworkFlowEndpoint(const rcl_network_flow_endpoint_t &network_flow_endpoint)

Construct from rcl_network_flow_endpoint_t.

const std::string &transport_protocol() const

Get transport protocol.

const std::string &internet_protocol() const

Get internet protocol.

uint16_t transport_port() const

Get transport port.

uint32_t flow_label() const

Get flow label.

uint8_t dscp() const

Get DSCP.

const std::string &internet_address() const

Get internet address.

Friends

friend bool operator==(const NetworkFlowEndpoint &left, const NetworkFlowEndpoint &right)

Compare two NetworkFlowEndpoint instances.

friend bool operator!=(const NetworkFlowEndpoint &left, const NetworkFlowEndpoint &right)
friend std::ostream &operator<<(std::ostream &os, const NetworkFlowEndpoint &network_flow_endpoint)

Streaming helper.