All Classes Files Functions Variables Enumerations Enumerator Groups Pages
InstantMessaging.idl
Go to the documentation of this file.
1 /**
2  * @file InstantMessaging.idl
3  * @brief Settings for XMPP server
4  * @copyright Copyright © 2017 Kerio Technologies
5  */
6 
7 #import <kerio/web/idl/SharedStructures.idl>
8 
9 module kerio {
10 module jsonapi {
11 module admin {
12 
13 struct XmppSettings {
14  boolean sendOutsideEnabled; ///< Sending messages outside the company is enabled
15  boolean sendOutsideEnabledIsRunning; ///< [READ-ONLY] Sending messages outside the company is really running and is functional
16 };
17 
19  boolean dnsARecord;
20  boolean dnsSRVRecordClient;
21  boolean dnsSRVRecordServer;
22  boolean xmppPingExternalServer;
23 };
24 
25 interface InstantMessaging {
26 
27  /**
28  * Get settings of XMPP server
29  *
30  * @param settings - Sign On settings
31  */
32  void get(out XmppSettings settings);
33 
34  /**
35  * Set settings of XMPP server
36  *
37  * @param settings - Sign On settings
38  */
39  void set(in XmppSettings settings);
40 
41  /**
42  *
43  * Check XMPP configuration for all domains
44  */
45  void checkXMPPConfiguration(out XMPPConfiguration configuration, in kerio::web::KId domainId);
46 };
47 
48 }; }; };//end of namespace