MCPcopy Create free account
hub / github.com/FirebirdSQL/firebird / start

Method start

src/remote/server/server.cpp:6735–6769  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

6733
6734
6735ISC_STATUS rem_port::start(P_OP operation, P_DATA * data, PACKET* sendL)
6736{
6737/**************************************
6738 *
6739 * s t a r t
6740 *
6741 **************************************
6742 *
6743 * Functional description
6744 *
6745 **************************************/
6746 Rtr* transaction;
6747
6748 getHandle(transaction, data->p_data_transaction);
6749
6750 Rrq* requestL;
6751 getHandle(requestL, data->p_data_request);
6752
6753 requestL = REMOTE_find_request(requestL, data->p_data_incarnation);
6754 REMOTE_reset_request(requestL, 0);
6755
6756 LocalStatus ls;
6757 CheckStatusWrapper status_vector(&ls);
6758
6759 requestL->rrq_iface->start(&status_vector, transaction->rtr_iface, data->p_data_incarnation);
6760
6761 if (!(status_vector.getState() & IStatus::STATE_ERRORS))
6762 {
6763 requestL->rrq_rtr = transaction;
6764 if (operation == op_start_and_receive)
6765 return this->receive_after_start(data, sendL, &status_vector);
6766 }
6767
6768 return this->send_response(sendL, 0, 0, &status_vector, false);
6769}
6770
6771
6772ISC_STATUS rem_port::start_and_send(P_OP operation, P_DATA* data, PACKET* sendL)

Callers 2

process_packetFunction · 0.45
service_startMethod · 0.45

Calls 8

receive_after_startMethod · 0.95
send_responseMethod · 0.95
REMOTE_find_requestFunction · 0.85
REMOTE_reset_requestFunction · 0.85
GdsClass · 0.85
startFunction · 0.50
getStateMethod · 0.45
raiseMethod · 0.45

Tested by

no test coverage detected