MCPcopy Create free account
hub / github.com/FirebirdSQL/firebird / API_ROUTINE isc_receive

Function API_ROUTINE isc_receive

src/yvalve/why.cpp:3209–3226  ·  view source on GitHub ↗

Send a record to the host program.

Source from the content-addressed store, hash-verified

3207
3208// Send a record to the host program.
3209ISC_STATUS API_ROUTINE isc_receive(ISC_STATUS* userStatus, isc_req_handle* reqHandle, USHORT msgType,
3210 USHORT msgLength, void* msg, SSHORT level)
3211{
3212 StatusVector status(userStatus);
3213 CheckStatusWrapper statusWrapper(&status);
3214
3215 try
3216 {
3217 RefPtr<YRequest> request(translateHandle(requests, reqHandle));
3218 request->receive(&statusWrapper, level, msgType, msgLength, reinterpret_cast<UCHAR*>(msg));
3219 }
3220 catch (const Exception& e)
3221 {
3222 e.stuffException(&statusWrapper);
3223 }
3224
3225 return status[1];
3226}
3227
3228
3229// Connect to a transaction in limbo.

Callers

nothing calls this directly

Calls 3

translateHandleFunction · 0.85
receiveMethod · 0.45
stuffExceptionMethod · 0.45

Tested by

no test coverage detected