Ice 3.8
C++ API Reference
Loading...
Searching...
No Matches
EndpointInfo.h
1// Copyright (c) ZeroC, Inc.
2
3#ifndef ICE_SSL_ENDPOINT_INFO_H
4#define ICE_SSL_ENDPOINT_INFO_H
5
6#include "../Endpoint.h"
7
8#if defined(__clang__)
9# pragma clang diagnostic push
10# pragma clang diagnostic ignored "-Wshadow-field-in-constructor"
11#elif defined(__GNUC__)
12# pragma GCC diagnostic push
13# pragma GCC diagnostic ignored "-Wshadow"
14#endif
15
16namespace Ice::SSL
17{
18 /// Provides access to an SSL endpoint information.
19 class ICE_API EndpointInfo final : public Ice::EndpointInfo
20 {
21 public:
22 ~EndpointInfo() final;
23 EndpointInfo(const EndpointInfo&) = delete;
24 EndpointInfo& operator=(const EndpointInfo&) = delete;
25
26 /// @private
27 explicit EndpointInfo(Ice::EndpointInfoPtr underlying) : Ice::EndpointInfo{std::move(underlying)} {}
28 };
29
30 /// A shared pointer to an EndpointInfo.
31 using EndpointInfoPtr = std::shared_ptr<EndpointInfo>;
32}
33
34#if defined(__clang__)
35# pragma clang diagnostic pop
36#elif defined(__GNUC__)
37# pragma GCC diagnostic pop
38#endif
39
40#endif
const EndpointInfoPtr underlying
The information of the underlying endpoint or nullptr if there's no underlying endpoint.
Definition Endpoint.h:78
Base class for the endpoint info classes.
Definition Endpoint.h:59
std::shared_ptr< EndpointInfo > EndpointInfoPtr
A shared pointer to an EndpointInfo.
Secure connections with SSL/TLS.
std::shared_ptr< EndpointInfo > EndpointInfoPtr
A shared pointer to an EndpointInfo.
Definition EndpointF.h:23