|
1 <!DOCTYPE html> |
|
2 <html><head> |
|
3 <title>eric7.RemoteServer.EricServerBaseRequestHandler</title> |
|
4 <meta charset="UTF-8"> |
|
5 <link rel="stylesheet" href="styles.css"> |
|
6 </head> |
|
7 <body> |
|
8 <a NAME="top" ID="top"></a> |
|
9 <h1>eric7.RemoteServer.EricServerBaseRequestHandler</h1> |
|
10 <p> |
|
11 Module implementing the request handler base class of the eric-ide server. |
|
12 </p> |
|
13 |
|
14 <h3>Global Attributes</h3> |
|
15 <table> |
|
16 <tr><td>None</td></tr> |
|
17 </table> |
|
18 |
|
19 <h3>Classes</h3> |
|
20 <table> |
|
21 <tr> |
|
22 <td><a href="#EricServerBaseRequestHandler">EricServerBaseRequestHandler</a></td> |
|
23 <td>Class implementing the request handler base class of the eric-ide server.</td> |
|
24 </tr> |
|
25 </table> |
|
26 |
|
27 <h3>Functions</h3> |
|
28 <table> |
|
29 <tr><td>None</td></tr> |
|
30 </table> |
|
31 |
|
32 <hr /> |
|
33 <hr /> |
|
34 <a NAME="EricServerBaseRequestHandler" ID="EricServerBaseRequestHandler"></a> |
|
35 <h2>EricServerBaseRequestHandler</h2> |
|
36 <p> |
|
37 Class implementing the request handler base class of the eric-ide server. |
|
38 </p> |
|
39 |
|
40 <h3>Derived from</h3> |
|
41 None |
|
42 <h3>Class Attributes</h3> |
|
43 <table> |
|
44 <tr><td>None</td></tr> |
|
45 </table> |
|
46 |
|
47 <h3>Class Methods</h3> |
|
48 <table> |
|
49 <tr><td>None</td></tr> |
|
50 </table> |
|
51 |
|
52 <h3>Methods</h3> |
|
53 <table> |
|
54 <tr> |
|
55 <td><a href="#EricServerBaseRequestHandler.__init__">EricServerBaseRequestHandler</a></td> |
|
56 <td>Constructor</td> |
|
57 </tr> |
|
58 <tr> |
|
59 <td><a href="#EricServerBaseRequestHandler.handleRequest">handleRequest</a></td> |
|
60 <td>Public method handling the received file system requests.</td> |
|
61 </tr> |
|
62 <tr> |
|
63 <td><a href="#EricServerBaseRequestHandler.sendError">sendError</a></td> |
|
64 <td>Public method to send an error report to the IDE.</td> |
|
65 </tr> |
|
66 </table> |
|
67 |
|
68 <h3>Static Methods</h3> |
|
69 <table> |
|
70 <tr><td>None</td></tr> |
|
71 </table> |
|
72 |
|
73 |
|
74 <a NAME="EricServerBaseRequestHandler.__init__" ID="EricServerBaseRequestHandler.__init__"></a> |
|
75 <h4>EricServerBaseRequestHandler (Constructor)</h4> |
|
76 <b>EricServerBaseRequestHandler</b>(<i>server</i>) |
|
77 <p> |
|
78 Constructor |
|
79 </p> |
|
80 |
|
81 <dl> |
|
82 |
|
83 <dt><i>server</i> (EricServer)</dt> |
|
84 <dd> |
|
85 reference to the eric-ide server object |
|
86 </dd> |
|
87 </dl> |
|
88 <a NAME="EricServerBaseRequestHandler.handleRequest" ID="EricServerBaseRequestHandler.handleRequest"></a> |
|
89 <h4>EricServerBaseRequestHandler.handleRequest</h4> |
|
90 <b>handleRequest</b>(<i>request, params, reqestUuid</i>) |
|
91 <p> |
|
92 Public method handling the received file system requests. |
|
93 </p> |
|
94 |
|
95 <dl> |
|
96 |
|
97 <dt><i>request</i> (str)</dt> |
|
98 <dd> |
|
99 request name |
|
100 </dd> |
|
101 <dt><i>params</i> (dict)</dt> |
|
102 <dd> |
|
103 dictionary containing the request parameters |
|
104 </dd> |
|
105 <dt><i>reqestUuid</i> (str)</dt> |
|
106 <dd> |
|
107 UUID of the associated request as sent by the eric IDE |
|
108 </dd> |
|
109 </dl> |
|
110 <a NAME="EricServerBaseRequestHandler.sendError" ID="EricServerBaseRequestHandler.sendError"></a> |
|
111 <h4>EricServerBaseRequestHandler.sendError</h4> |
|
112 <b>sendError</b>(<i>request, reqestUuid=""</i>) |
|
113 <p> |
|
114 Public method to send an error report to the IDE. |
|
115 </p> |
|
116 |
|
117 <dl> |
|
118 |
|
119 <dt><i>request</i> (str)</dt> |
|
120 <dd> |
|
121 request name |
|
122 </dd> |
|
123 <dt><i>reqestUuid</i> (str)</dt> |
|
124 <dd> |
|
125 UUID of the associated request as sent by the eric IDE |
|
126 (defaults to "", i.e. no UUID received) |
|
127 </dd> |
|
128 </dl> |
|
129 <div align="right"><a href="#top">Up</a></div> |
|
130 <hr /> |
|
131 </body></html> |