ZDK
IContextConfiguration.h
1 #ifndef __ICONTEXTCONFIGURATION__
2 #define __ICONTEXTCONFIGURATION__
3 
4 #include "IZHandle.h"
5 
6 namespace ZDK
7 {
8 
9 //# @abi(all) documentation
15 class IContextConfiguration : public virtual ZDK::IZHandle
16 {
17  public:
18  //# @abi(all) documentation
25  //# @abi(jni|obj_c) property
26  virtual int SIPPort() const = 0;
27 
28  //# @abi(all) documentation
35  //# @abi(jni|obj_c) property
36  virtual void SIPPort(int value) = 0;
37 
38  //# @abi(all) documentation
49  //# @abi(jni|obj_c) property
50  virtual int RTPPort() const = 0;
51 
52  //# @abi(all) documentation
63  //# @abi(jni|obj_c) property
64  virtual void RTPPort(int value) = 0;
65 
66  //# @abi(all) documentation
76  //# @abi(jni|obj_c) property
77  virtual bool EnableIPv6() const = 0;
78 
79  //# @abi(all) documentation
89  //# @abi(jni|obj_c) property
90  virtual void EnableIPv6(bool value) = 0;
91 
92  //# @abi(all) documentation
104  //# @abi(jni|obj_c) property
105  //# @abi(jni|obj_c) @param(return) nullable
106  virtual ZDK::Shared::String UserSipInstance() const = 0;
107 
108  //# @abi(all) documentation
122  //# @abi(jni|obj_c) property
123  virtual bool EnableSIPReliableProvisioning() const = 0;
124 
125  //# @abi(all) documentation
139  //# @abi(jni|obj_c) property
140  virtual void EnableSIPReliableProvisioning(bool value) = 0;
141 
142  //# @abi(all) documentation
149  //# @abi(jni|obj_c) property
150  //# @abi(jni|obj_c) @param(return) nullable
151  virtual ZDK::Shared::String UserAgent() const = 0;
152 
153  //# @abi(all) documentation
160  //# @abi(jni|obj_c) property
161  //# @abi(jni|obj_c) @param(value) nullable
162  virtual void UserAgent(ZDK::Shared::String value) = 0;
163 
164  //# @abi(all) documentation
173  //# @abi(jni|obj_c) property
174  virtual int MediaDSCP() const = 0;
175 
176  //# @abi(all) documentation
185  //# @abi(jni|obj_c) property
186  virtual void MediaDSCP(int value) = 0;
187 
188  //# @abi(all) documentation
197  //# @abi(jni|obj_c) property
198  virtual int SignalDSCP() const = 0;
199 
200  //# @abi(all) documentation
209  //# @abi(jni|obj_c) property
210  virtual void SignalDSCP(int value) = 0;
211 
212  //# @abi(all) documentation
221  //# @abi(jni|obj_c) property
222  //# @abi(jni|obj_c) @param(return) nullable
223  virtual ZDK::Shared::String RTPSessionName() const = 0;
224 
225  //# @abi(all) documentation
234  //# @abi(jni|obj_c) property
235  //# @abi(jni|obj_c) @param(value) nullable
236  virtual void RTPSessionName(ZDK::Shared::String value) = 0;
237 
238  //# @abi(all) documentation
247  //# @abi(jni|obj_c) property
248  //# @abi(jni|obj_c) @param(return) nullable
249  virtual ZDK::Shared::String RTPUsername() const = 0;
250 
251  //# @abi(all) documentation
260  //# @abi(jni|obj_c) property
261  //# @abi(jni|obj_c) @param(value) nullable
262  virtual void RTPUsername(ZDK::Shared::String value) = 0;
263 
264  //# @abi(all) documentation
273  //# @abi(jni|obj_c) property
274  //# @abi(jni|obj_c) @param(return) nullable
275  virtual ZDK::Shared::String RTPUrl() const = 0;
276 
277  //# @abi(all) documentation
286  //# @abi(jni|obj_c) property
287  //# @abi(jni|obj_c) @param(value) nullable
288  virtual void RTPUrl(ZDK::Shared::String value) = 0;
289 
290  //# @abi(all) documentation
299  //# @abi(jni|obj_c) property
300  //# @abi(jni|obj_c) @param(return) nullable
301  virtual ZDK::Shared::String RTPEmail() const = 0;
302 
303  //# @abi(all) documentation
312  //# @abi(jni|obj_c) property
313  //# @abi(jni|obj_c) @param(value) nullable
314  virtual void RTPEmail(ZDK::Shared::String value) = 0;
315 };
316 
317 } //namespace ZDK
318 
319 #endif //__ICONTEXTCONFIGURATION__
virtual bool EnableSIPReliableProvisioning() const =0
Gets the global usage of reliable provisional as described in RFC 3262.
virtual ZDK::Shared::String RTPSessionName() const =0
Gets the configured RTP session name for the SDP.
virtual ZDK::Shared::String RTPUsername() const =0
Gets the configured RTP user name for the SDP.
Definition: IZHandle.h:12
virtual int MediaDSCP() const =0
Gets the configured DSCP for the media streams.
virtual int RTPPort() const =0
Gets the base port to be used for RTP streams.
virtual ZDK::Shared::String UserSipInstance() const =0
Generate a random UUID to be used for SIP user instance.
virtual ZDK::Shared::String UserAgent() const =0
Gets the ZDK's user agent.
virtual ZDK::Shared::String RTPUrl() const =0
Gets the configured URL for SDP.
General ZDK/Context configuration.
Definition: IContextConfiguration.h:15
Definition: IAccountConfig.h:10
virtual bool EnableIPv6() const =0
Gets the global use of IPv6 support.
virtual int SignalDSCP() const =0
Gets the configured DSCP for the signaling streams.
virtual int SIPPort() const =0
Gets the requested SIP port to be used.
virtual ZDK::Shared::String RTPEmail() const =0
Gets the configured e-mail address for SDP.