3#ifndef ICE_BT_ENDPOINT_INFO_H
4#define ICE_BT_ENDPOINT_INFO_H
6#include "Ice/Endpoint.h"
10# pragma clang diagnostic push
11# pragma clang diagnostic ignored "-Wshadow-field-in-constructor"
12#elif defined(__GNUC__)
13# pragma GCC diagnostic push
14# pragma GCC diagnostic ignored "-Wshadow"
24 ~EndpointInfo()
final;
25 EndpointInfo(
const EndpointInfo&) =
delete;
26 EndpointInfo& operator=(
const EndpointInfo&) =
delete;
28 [[nodiscard]] std::int16_t
type() const noexcept final {
return _type; }
29 [[nodiscard]]
bool secure() const noexcept final {
return _secure; }
48 const std::int16_t _type;
57# pragma clang diagnostic pop
58#elif defined(__GNUC__)
59# pragma GCC diagnostic pop
std::int16_t type() const noexcept final
Returns the type of the endpoint.
const std::string addr
The address configured with the endpoint.
const std::string uuid
The UUID configured with the endpoint.
bool secure() const noexcept final
Returns true if this endpoint's transport uses SSL, false otherwise.
const bool compress
Specifies whether or not compression should be used if available when using this endpoint.
Base class for the endpoint info classes.
std::shared_ptr< EndpointInfo > EndpointInfoPtr
A shared pointer to an EndpointInfo.
The Bluetooth transport plug-in.