PLCnext API Documentation 25.0.2.69
RscSessionInfo.hpp
1
2//
3// Copyright Phoenix Contact GmbH & Co. KG
4//
6#pragma once
8#include "Arp/Base/Core/PimplPtr.hxx"
9#include "Arp/Base/Rsc/Commons/Services/RscCommunicationKind.hpp"
10
11namespace Arp::Base::Rsc::Commons::Services
12{
13
18class ARP_EXPORT RscSessionInfo
19{
20public: // Impl forward declaration
21 class Impl;
22
23public: // construction
24 RscSessionInfo(Impl& impl);
25
26 // canonical construction/destruction/assignment
27 RscSessionInfo(const RscSessionInfo& arg) = delete;
29 RscSessionInfo& operator=(const RscSessionInfo& arg) = delete;
32
33public: // setter/getter operations
34 size_t GetSessionId(void)const;
35 int GetGatewayId(void)const;
36 bool IsEncrypted(void)const;
37 bool IsAuthenticated(void)const;
38 RscCommunicationKind GetCommunicationKind(void)const;
39
40public: // internal operations
41 Impl& GetImpl(void);
42 const Impl& GetImpl(void)const;
43
44private: // Impl usings
45 using Pimpl = Impl*;
46
47private: // Impl fields
48 Pimpl pimpl = nullptr;
49};
50
51} // end of namespace Arp::Base::Rsc::Commons::Services
This class compounds RSC session infos.
Definition: RscSessionInfo.hpp:19
~RscSessionInfo(void)
The default destructor.
RscSessionInfo & operator=(RscSessionInfo &&arg) noexcept
The default move-assignment operator.
RscSessionInfo(RscSessionInfo &&arg) noexcept
The default move constructor.