16 |
16 |
17 a { color: #BA6D36; } |
17 a { color: #BA6D36; } |
18 |
18 |
19 </style> |
19 </style> |
20 </head> |
20 </head> |
21 <body><a NAME="top" ID="top"></a> |
21 <body> |
|
22 <a NAME="top" ID="top"></a> |
22 <h1>eric6.E5Network.E5XmlRpcClient</h1> |
23 <h1>eric6.E5Network.E5XmlRpcClient</h1> |
|
24 |
23 <p> |
25 <p> |
24 Module implementing a xmlrpc client for Qt. |
26 Module implementing a xmlrpc client for Qt. |
25 </p> |
27 </p> |
26 <h3>Global Attributes</h3> |
28 <h3>Global Attributes</h3> |
|
29 |
27 <table> |
30 <table> |
28 <tr><td>None</td></tr> |
31 <tr><td>None</td></tr> |
29 </table> |
32 </table> |
30 <h3>Classes</h3> |
33 <h3>Classes</h3> |
31 <table> |
34 |
|
35 <table> |
|
36 |
32 <tr> |
37 <tr> |
33 <td><a href="#E5XmlRpcClient">E5XmlRpcClient</a></td> |
38 <td><a href="#E5XmlRpcClient">E5XmlRpcClient</a></td> |
34 <td>Class implementing a xmlrpc client for Qt.</td> |
39 <td>Class implementing a xmlrpc client for Qt.</td> |
35 </tr> |
40 </tr> |
36 </table> |
41 </table> |
37 <h3>Functions</h3> |
42 <h3>Functions</h3> |
38 <table> |
43 |
39 <tr><td>None</td></tr> |
44 <table> |
40 </table> |
45 <tr><td>None</td></tr> |
41 <hr /><hr /> |
46 </table> |
|
47 <hr /> |
|
48 <hr /> |
42 <a NAME="E5XmlRpcClient" ID="E5XmlRpcClient"></a> |
49 <a NAME="E5XmlRpcClient" ID="E5XmlRpcClient"></a> |
43 <h2>E5XmlRpcClient</h2> |
50 <h2>E5XmlRpcClient</h2> |
|
51 |
44 <p> |
52 <p> |
45 Class implementing a xmlrpc client for Qt. |
53 Class implementing a xmlrpc client for Qt. |
46 </p> |
54 </p> |
47 <h3>Derived from</h3> |
55 <h3>Derived from</h3> |
48 QObject |
56 QObject |
49 <h3>Class Attributes</h3> |
57 <h3>Class Attributes</h3> |
|
58 |
50 <table> |
59 <table> |
51 <tr><td>None</td></tr> |
60 <tr><td>None</td></tr> |
52 </table> |
61 </table> |
53 <h3>Class Methods</h3> |
62 <h3>Class Methods</h3> |
|
63 |
54 <table> |
64 <table> |
55 <tr><td>None</td></tr> |
65 <tr><td>None</td></tr> |
56 </table> |
66 </table> |
57 <h3>Methods</h3> |
67 <h3>Methods</h3> |
58 <table> |
68 |
|
69 <table> |
|
70 |
59 <tr> |
71 <tr> |
60 <td><a href="#E5XmlRpcClient.__init__">E5XmlRpcClient</a></td> |
72 <td><a href="#E5XmlRpcClient.__init__">E5XmlRpcClient</a></td> |
61 <td>Constructor</td> |
73 <td>Constructor</td> |
62 </tr><tr> |
74 </tr> |
|
75 <tr> |
63 <td><a href="#E5XmlRpcClient.__replyFinished">__replyFinished</a></td> |
76 <td><a href="#E5XmlRpcClient.__replyFinished">__replyFinished</a></td> |
64 <td>Private slot handling the receipt of a reply.</td> |
77 <td>Private slot handling the receipt of a reply.</td> |
65 </tr><tr> |
78 </tr> |
|
79 <tr> |
66 <td><a href="#E5XmlRpcClient.__sslErrors">__sslErrors</a></td> |
80 <td><a href="#E5XmlRpcClient.__sslErrors">__sslErrors</a></td> |
67 <td>Private slot to handle SSL errors.</td> |
81 <td>Private slot to handle SSL errors.</td> |
68 </tr><tr> |
82 </tr> |
|
83 <tr> |
69 <td><a href="#E5XmlRpcClient.abort">abort</a></td> |
84 <td><a href="#E5XmlRpcClient.abort">abort</a></td> |
70 <td>Public method to abort all calls.</td> |
85 <td>Public method to abort all calls.</td> |
71 </tr><tr> |
86 </tr> |
|
87 <tr> |
72 <td><a href="#E5XmlRpcClient.call">call</a></td> |
88 <td><a href="#E5XmlRpcClient.call">call</a></td> |
73 <td>Public method to call the remote server.</td> |
89 <td>Public method to call the remote server.</td> |
74 </tr><tr> |
90 </tr> |
|
91 <tr> |
75 <td><a href="#E5XmlRpcClient.setUrl">setUrl</a></td> |
92 <td><a href="#E5XmlRpcClient.setUrl">setUrl</a></td> |
76 <td>Public slot to set the xmlrpc handler URL.</td> |
93 <td>Public slot to set the xmlrpc handler URL.</td> |
77 </tr> |
94 </tr> |
78 </table> |
95 </table> |
79 <h3>Static Methods</h3> |
96 <h3>Static Methods</h3> |
80 <table> |
97 |
81 <tr><td>None</td></tr> |
98 <table> |
82 </table> |
99 <tr><td>None</td></tr> |
|
100 </table> |
|
101 |
83 <a NAME="E5XmlRpcClient.__init__" ID="E5XmlRpcClient.__init__"></a> |
102 <a NAME="E5XmlRpcClient.__init__" ID="E5XmlRpcClient.__init__"></a> |
84 <h4>E5XmlRpcClient (Constructor)</h4> |
103 <h4>E5XmlRpcClient (Constructor)</h4> |
85 <b>E5XmlRpcClient</b>(<i>url, parent=None</i>) |
104 <b>E5XmlRpcClient</b>(<i>url, parent=None</i>) |
|
105 |
86 <p> |
106 <p> |
87 Constructor |
107 Constructor |
88 </p><dl> |
108 </p> |
|
109 <dl> |
|
110 |
89 <dt><i>url</i></dt> |
111 <dt><i>url</i></dt> |
90 <dd> |
112 <dd> |
91 xmlrpc handler URL (string or QUrl) |
113 xmlrpc handler URL (string or QUrl) |
92 </dd><dt><i>parent</i></dt> |
114 </dd> |
|
115 <dt><i>parent</i></dt> |
93 <dd> |
116 <dd> |
94 parent object (QObject) |
117 parent object (QObject) |
95 </dd> |
118 </dd> |
96 </dl><a NAME="E5XmlRpcClient.__replyFinished" ID="E5XmlRpcClient.__replyFinished"></a> |
119 </dl> |
|
120 <a NAME="E5XmlRpcClient.__replyFinished" ID="E5XmlRpcClient.__replyFinished"></a> |
97 <h4>E5XmlRpcClient.__replyFinished</h4> |
121 <h4>E5XmlRpcClient.__replyFinished</h4> |
98 <b>__replyFinished</b>(<i>reply</i>) |
122 <b>__replyFinished</b>(<i>reply</i>) |
|
123 |
99 <p> |
124 <p> |
100 Private slot handling the receipt of a reply. |
125 Private slot handling the receipt of a reply. |
101 </p><dl> |
126 </p> |
|
127 <dl> |
|
128 |
102 <dt><i>reply</i></dt> |
129 <dt><i>reply</i></dt> |
103 <dd> |
130 <dd> |
104 reference to the finished reply (QNetworkReply) |
131 reference to the finished reply (QNetworkReply) |
105 </dd> |
132 </dd> |
106 </dl><a NAME="E5XmlRpcClient.__sslErrors" ID="E5XmlRpcClient.__sslErrors"></a> |
133 </dl> |
|
134 <a NAME="E5XmlRpcClient.__sslErrors" ID="E5XmlRpcClient.__sslErrors"></a> |
107 <h4>E5XmlRpcClient.__sslErrors</h4> |
135 <h4>E5XmlRpcClient.__sslErrors</h4> |
108 <b>__sslErrors</b>(<i>reply, errors</i>) |
136 <b>__sslErrors</b>(<i>reply, errors</i>) |
|
137 |
109 <p> |
138 <p> |
110 Private slot to handle SSL errors. |
139 Private slot to handle SSL errors. |
111 </p><dl> |
140 </p> |
|
141 <dl> |
|
142 |
112 <dt><i>reply</i></dt> |
143 <dt><i>reply</i></dt> |
113 <dd> |
144 <dd> |
114 reference to the reply object (QNetworkReply) |
145 reference to the reply object (QNetworkReply) |
115 </dd><dt><i>errors</i></dt> |
146 </dd> |
|
147 <dt><i>errors</i></dt> |
116 <dd> |
148 <dd> |
117 list of SSL errors (list of QSslError) |
149 list of SSL errors (list of QSslError) |
118 </dd> |
150 </dd> |
119 </dl><a NAME="E5XmlRpcClient.abort" ID="E5XmlRpcClient.abort"></a> |
151 </dl> |
|
152 <a NAME="E5XmlRpcClient.abort" ID="E5XmlRpcClient.abort"></a> |
120 <h4>E5XmlRpcClient.abort</h4> |
153 <h4>E5XmlRpcClient.abort</h4> |
121 <b>abort</b>(<i></i>) |
154 <b>abort</b>(<i></i>) |
|
155 |
122 <p> |
156 <p> |
123 Public method to abort all calls. |
157 Public method to abort all calls. |
124 </p><a NAME="E5XmlRpcClient.call" ID="E5XmlRpcClient.call"></a> |
158 </p> |
|
159 <a NAME="E5XmlRpcClient.call" ID="E5XmlRpcClient.call"></a> |
125 <h4>E5XmlRpcClient.call</h4> |
160 <h4>E5XmlRpcClient.call</h4> |
126 <b>call</b>(<i>method, args, responseCallback, errorCallback</i>) |
161 <b>call</b>(<i>method, args, responseCallback, errorCallback</i>) |
|
162 |
127 <p> |
163 <p> |
128 Public method to call the remote server. |
164 Public method to call the remote server. |
129 </p><dl> |
165 </p> |
|
166 <dl> |
|
167 |
130 <dt><i>method</i></dt> |
168 <dt><i>method</i></dt> |
131 <dd> |
169 <dd> |
132 name of the remote method to be called (string) |
170 name of the remote method to be called (string) |
133 </dd><dt><i>args</i></dt> |
171 </dd> |
|
172 <dt><i>args</i></dt> |
134 <dd> |
173 <dd> |
135 tuple of method arguments (tuple) |
174 tuple of method arguments (tuple) |
136 </dd><dt><i>responseCallback</i></dt> |
175 </dd> |
|
176 <dt><i>responseCallback</i></dt> |
137 <dd> |
177 <dd> |
138 method to be called with the returned |
178 method to be called with the returned |
139 result as a tuple (function) |
179 result as a tuple (function) |
140 </dd><dt><i>errorCallback</i></dt> |
180 </dd> |
|
181 <dt><i>errorCallback</i></dt> |
141 <dd> |
182 <dd> |
142 method to be called in case of an error |
183 method to be called in case of an error |
143 with error code and error string (function) |
184 with error code and error string (function) |
144 </dd> |
185 </dd> |
145 </dl><a NAME="E5XmlRpcClient.setUrl" ID="E5XmlRpcClient.setUrl"></a> |
186 </dl> |
|
187 <a NAME="E5XmlRpcClient.setUrl" ID="E5XmlRpcClient.setUrl"></a> |
146 <h4>E5XmlRpcClient.setUrl</h4> |
188 <h4>E5XmlRpcClient.setUrl</h4> |
147 <b>setUrl</b>(<i>url</i>) |
189 <b>setUrl</b>(<i>url</i>) |
|
190 |
148 <p> |
191 <p> |
149 Public slot to set the xmlrpc handler URL. |
192 Public slot to set the xmlrpc handler URL. |
150 </p><dl> |
193 </p> |
|
194 <dl> |
|
195 |
151 <dt><i>url</i></dt> |
196 <dt><i>url</i></dt> |
152 <dd> |
197 <dd> |
153 xmlrpc handler URL (string or QUrl) |
198 xmlrpc handler URL (string or QUrl) |
154 </dd> |
199 </dd> |
155 </dl> |
200 </dl> |