PLCnext API Documentation 23.0.2.9
RscChannelInfo.hpp
1
2//
3// Copyright PHOENIX CONTACT Electronics GmbH
4//
6#pragma once
8#include "Arp/System/Rsc/Services/RscChannelKind.hpp"
9
10
11// forwards
12namespace CommonRemoting
13{
14class ChannelInfo;
15}
16
17namespace Arp { namespace System { namespace Rsc { namespace Services
18{
19
20using namespace CommonRemoting;
21
26class RscChannelInfo
27{
28public: // typedefs
29
30public: // construction/destruction
32 RscChannelInfo(const ChannelInfo& channelInfo, size_t connectionId);
34 RscChannelInfo(const RscChannelInfo& arg) = default;
36 RscChannelInfo& operator=(const RscChannelInfo& arg) = default;
38 ~RscChannelInfo(void) = default;
39
40public: // setter/getter operations
41 RscChannelKind GetKind(void)const;
42 bool IsEncrypted(void)const;
43 bool IsAuthorized(void)const;
44 size_t GetConnectionId(void)const;
45 int GetGatewayId(void)const;
46
47public: // operations
48
49private: // fields
50 const ChannelInfo& channelInfo;
51 const size_t connectionId;
52};
53
55// inline methods of class RscChannelInfo
56
57
58}}}} // end of namespace Arp::System::Rsc::Services
@ System
System components used by the System, Device, Plc or Io domains.
Root namespace for the PLCnext API