zdk.net
ContextConfiguration.h
1 //
2 // ContextConfiguration.h
3 // ZDK
4 //
5 
6 #ifndef ZDK_NET_ContextConfiguration_h
7 #define ZDK_NET_ContextConfiguration_h
8 
9 #include "native_shared_ptr.h"
10 #include "PublicInterfaces.h"
11 #include "IpVersionType.h"
12 #include "ZHandle.h"
13 
14 using namespace System::Collections::Generic;
15 
16 namespace ZDK_NET
17 {
18 
24  public ref class ContextConfiguration : ZHandle
25  {
26  public:
27  ZDK::IContextConfiguration* cppRef = nullptr;
28 
29  ContextConfiguration(ZDK::Shared::ContextConfiguration src);
32 
43  property int SIPUdpPort
44  {
45  int get();
46  void set(int value);
47  }
48 
58  property int SIPUdpPortInUse
59  {
60  int get();
61  }
62 
74  property int SIPTcpPort
75  {
76  int get();
77  void set(int value);
78  }
79 
89  property int SIPTcpPortInUse
90  {
91  int get();
92  }
93 
105  property int SIPTlsPort
106  {
107  int get();
108  void set(int value);
109  }
110 
120  property int SIPTlsPortInUse
121  {
122  int get();
123  }
124 
132  property int IAXUdpPortInUse
133  {
134  int get();
135  }
136 
149  property int RTPPort
150  {
151  int get();
152  void set(int value);
153  }
154 
164  property bool EnableIPv6
165  {
166  bool get();
167  void set(bool value);
168  }
169 
180  property ZDK_NET::IpVersionType IpVersionPreference
181  {
182  ZDK_NET::IpVersionType get();
183  void set(ZDK_NET::IpVersionType value);
184  }
185 
197  property System::String^ UserSipInstance
198  {
199  System::String^ get();
200  }
201 
215  property bool EnableSIPReliableProvisioning
216  {
217  bool get();
218  void set(bool value);
219  }
220 
227  property System::String^ UserAgent
228  {
229  System::String^ get();
230  void set(System::String^ value);
231  }
232 
241  property int MediaDSCP
242  {
243  int get();
244  void set(int value);
245  }
246 
255  property int SignalDSCP
256  {
257  int get();
258  void set(int value);
259  }
260 
269  property System::String^ RTPSessionName
270  {
271  System::String^ get();
272  void set(System::String^ value);
273  }
274 
283  property System::String^ RTPUsername
284  {
285  System::String^ get();
286  void set(System::String^ value);
287  }
288 
297  property System::String^ RTPUrl
298  {
299  System::String^ get();
300  void set(System::String^ value);
301  }
302 
311  property System::String^ RTPEmail
312  {
313  System::String^ get();
314  void set(System::String^ value);
315  }
316 
317  virtual long long Handle() override;
318 
319  virtual void Initialize() override;
320 
321  virtual void ReleaseReference() override;
322 
323  };
324 }
325 
326 #endif
ZDK_NET::ContextConfiguration
General ZDK/Context configuration.
Definition: ContextConfiguration.h:25
ZDK_NET::ZHandle
Definition: ZHandle.h:18