| 4248 | |
| 4249 | |
| 4250 | void JRequest::send(CheckStatusWrapper* user_status, int level, unsigned int msg_type, |
| 4251 | unsigned int msg_length, const void* msg) |
| 4252 | { |
| 4253 | /************************************** |
| 4254 | * |
| 4255 | * g d s _ $ s e n d |
| 4256 | * |
| 4257 | ************************************** |
| 4258 | * |
| 4259 | * Functional description |
| 4260 | * Get a record from the host program. |
| 4261 | * |
| 4262 | **************************************/ |
| 4263 | try |
| 4264 | { |
| 4265 | EngineContextHolder tdbb(user_status, this, FB_FUNCTION); |
| 4266 | check_database(tdbb); |
| 4267 | |
| 4268 | Request* request = verify_request_synchronization(getHandle(), level); |
| 4269 | |
| 4270 | try |
| 4271 | { |
| 4272 | JRD_send(tdbb, request, msg_type, msg_length, msg); |
| 4273 | } |
| 4274 | catch (const Exception& ex) |
| 4275 | { |
| 4276 | transliterateException(tdbb, ex, user_status, "JRequest::send"); |
| 4277 | return; |
| 4278 | } |
| 4279 | } |
| 4280 | catch (const Exception& ex) |
| 4281 | { |
| 4282 | ex.stuffException(user_status); |
| 4283 | return; |
| 4284 | } |
| 4285 | |
| 4286 | successful_completion(user_status); |
| 4287 | } |
| 4288 | |
| 4289 | |
| 4290 | JService* JProvider::attachServiceManager(CheckStatusWrapper* user_status, const char* service_name, |
nothing calls this directly
no test coverage detected