| 7197 | |
| 7198 | |
| 7199 | void Service::query(CheckStatusWrapper* status, |
| 7200 | unsigned int sendLength, const unsigned char* sendItems, |
| 7201 | unsigned int receiveLength, const unsigned char* receiveItems, |
| 7202 | unsigned int bufferLength, unsigned char* buffer) |
| 7203 | { |
| 7204 | /************************************** |
| 7205 | * |
| 7206 | * g d s _ s e r v i c e _ q u e r y |
| 7207 | * |
| 7208 | ************************************** |
| 7209 | * |
| 7210 | * Functional description |
| 7211 | * Provide information on service object. |
| 7212 | * |
| 7213 | **************************************/ |
| 7214 | try |
| 7215 | { |
| 7216 | reset(status); |
| 7217 | |
| 7218 | // Check and validate handles, etc. |
| 7219 | |
| 7220 | CHECK_HANDLE(rdb, isc_bad_svc_handle); |
| 7221 | rem_port* port = rdb->rdb_port; |
| 7222 | RefMutexGuard portGuard(*port->port_sync, FB_FUNCTION); |
| 7223 | |
| 7224 | info(status, rdb, op_service_info, rdb->rdb_id, 0, |
| 7225 | sendLength, sendItems, receiveLength, receiveItems, |
| 7226 | bufferLength, buffer); |
| 7227 | } |
| 7228 | catch (const Exception& ex) |
| 7229 | { |
| 7230 | ex.stuffException(status); |
| 7231 | } |
| 7232 | } |
| 7233 | |
| 7234 | |
| 7235 | void Service::cancel(CheckStatusWrapper* status) |
no test coverage detected