All Classes Files Functions Variables Pages
Dumps.idl
Go to the documentation of this file.
1 /**
2  * @file Dumps.idl
3  * @brief Managing of coredumps
4  *
5  * @author Frantisek Boranek, Dusan Juhas
6  *
7  * @copyright Copyright © 2017 Kerio Technologies s.r.o.
8  */
9 #import <kerio/web/idl/SharedStructures.idl>
10 #import <kerio/assist/idl/Assist.idl>
11 
12 module kerio {
13 module web {
14 
15 struct CoreDump {
17  DateTimeStamp timestamp;
18 };
19 
22  DateTimeStamp timestamp;
23  kerio::assist::Importance importance;
24 };
25 
26 typedef sequence<CoreDump> DumpList;
27 typedef sequence<CoreDumpWithImportance> DumpListWithImportance;
28 
29 
30 interface Dumps {
31 
32  /**
33  * Obtain list of available crash dumps
34  *
35  * @param dumps - list of all available crash dumps
36  */
37  void get(out DumpList dumps);
38  /**
39  * Obtain list of available crash dumps with highest importance
40  *
41  * @param dumps - list of all available crash dumps with importance
42  */
43  void getWithImportance(out DumpListWithImportance dumps);
44 
45  /**
46  * Remove all crash dumps from server disk
47  */
48  void remove();
49 
50  /**
51  * Upload last available crash dump to Kerio.
52  *
53  * @param description - plain text information to be sent with crash dump
54  * @param email - contact information to be sent with crash dump
55  */
56  void send(in string description, in string email);
57 };
58 
59 }; // module web
60 }; // module kerio
Definition: SharedStructures.idl:211
Definition: Dumps.idl:30
Definition: Dumps.idl:15
Definition: Assist.idl:10
Definition: Dumps.idl:20