| 3909 | |
| 3910 | |
| 3911 | void JRequest::receive(CheckStatusWrapper* user_status, int level, unsigned int msg_type, |
| 3912 | unsigned int msg_length, void* msg) |
| 3913 | { |
| 3914 | /************************************** |
| 3915 | * |
| 3916 | * g d s _ $ r e c e i v e |
| 3917 | * |
| 3918 | ************************************** |
| 3919 | * |
| 3920 | * Functional description |
| 3921 | * Send a record to the host program. |
| 3922 | **************************************/ |
| 3923 | try |
| 3924 | { |
| 3925 | EngineContextHolder tdbb(user_status, this, FB_FUNCTION); |
| 3926 | check_database(tdbb); |
| 3927 | |
| 3928 | Request* request = verify_request_synchronization(getHandle(), level); |
| 3929 | |
| 3930 | try |
| 3931 | { |
| 3932 | JRD_receive(tdbb, request, msg_type, msg_length, msg); |
| 3933 | } |
| 3934 | catch (const Exception& ex) |
| 3935 | { |
| 3936 | transliterateException(tdbb, ex, user_status, "JRequest::receive"); |
| 3937 | return; |
| 3938 | } |
| 3939 | } |
| 3940 | catch (const Exception& ex) |
| 3941 | { |
| 3942 | ex.stuffException(user_status); |
| 3943 | return; |
| 3944 | } |
| 3945 | |
| 3946 | successful_completion(user_status); |
| 3947 | } |
| 3948 | |
| 3949 | |
| 3950 | JTransaction* JAttachment::reconnectTransaction(CheckStatusWrapper* user_status, unsigned int length, |
nothing calls this directly
no test coverage detected