CARLA
Public Types | Public Attributes | List of all members
carla::streaming::detail::token_data Struct Reference

#include <Token.h>

+ Collaboration diagram for carla::streaming::detail::token_data:

Public Types

enum  address : uint8_t { address::not_set, address::ip_v4, address::ip_v6 }
 
enum  protocol : uint8_t { protocol::not_set, protocol::tcp, protocol::udp }
 

Public Attributes

union {
   boost::asio::ip::address_v4::bytes_type   v4
 
   boost::asio::ip::address_v6::bytes_type   v6
 
address
 
enum carla::streaming::detail::token_data::address address_type = address::not_set
 
uint16_t port = 0u
 
enum carla::streaming::detail::token_data::protocol protocol = protocol::not_set
 
stream_id_type stream_id = 0u
 

Detailed Description

Definition at line 24 of file detail/Token.h.

Member Enumeration Documentation

◆ address

Enumerator
not_set 
ip_v4 
ip_v6 

Definition at line 35 of file detail/Token.h.

◆ protocol

Enumerator
not_set 
tcp 
udp 

Definition at line 29 of file detail/Token.h.

Member Data Documentation

◆ address

◆ address_type

enum carla::streaming::detail::token_data::address carla::streaming::detail::token_data::address_type = address::not_set

◆ port

uint16_t carla::streaming::detail::token_data::port = 0u

Definition at line 27 of file detail/Token.h.

◆ protocol

◆ stream_id

stream_id_type carla::streaming::detail::token_data::stream_id = 0u

◆ v4

boost::asio::ip::address_v4::bytes_type carla::streaming::detail::token_data::v4

Definition at line 42 of file detail/Token.h.

◆ v6

boost::asio::ip::address_v6::bytes_type carla::streaming::detail::token_data::v6

Definition at line 43 of file detail/Token.h.


The documentation for this struct was generated from the following file: