Revision 14d30d82 src/rm/RequestManagerPoolInfoFilter.cc
src/rm/RequestManagerPoolInfoFilter.cc | ||
---|---|---|
163 | 163 |
|
164 | 164 |
return; |
165 | 165 |
} |
166 |
|
|
166 | 167 |
/* ------------------------------------------------------------------------- */ |
167 | 168 |
/* ------------------------------------------------------------------------- */ |
168 | 169 |
|
... | ... | |
176 | 177 |
/* ------------------------------------------------------------------------- */ |
177 | 178 |
/* ------------------------------------------------------------------------- */ |
178 | 179 |
|
180 |
void HostPoolMonitoring::request_execute( |
|
181 |
xmlrpc_c::paramList const& paramList, |
|
182 |
RequestAttributes& att) |
|
183 |
{ |
|
184 |
ostringstream oss; |
|
185 |
string where; |
|
186 |
int rc; |
|
187 |
|
|
188 |
where_filter(att, ALL, -1, -1, "", "", where); |
|
189 |
|
|
190 |
rc = (static_cast<HostPool *>(pool))->dump_monitoring(oss, where); |
|
191 |
|
|
192 |
if ( rc != 0 ) |
|
193 |
{ |
|
194 |
failure_response(INTERNAL,request_error("Internal Error",""), att); |
|
195 |
return; |
|
196 |
} |
|
197 |
|
|
198 |
success_response(oss.str(), att); |
|
199 |
|
|
200 |
return; |
|
201 |
} |
|
202 |
|
|
203 |
/* ------------------------------------------------------------------------- */ |
|
204 |
/* ------------------------------------------------------------------------- */ |
|
205 |
|
|
179 | 206 |
void GroupPoolInfo::request_execute( |
180 | 207 |
xmlrpc_c::paramList const& paramList, |
181 | 208 |
RequestAttributes& att) |
Also available in: Unified diff