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

Function server_death

src/remote/client/interface.cpp:9894–9920  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

9892}
9893
9894static void server_death(rem_port* port)
9895{
9896/**************************************
9897 *
9898 * s e r v e r _ d e a t h
9899 *
9900 **************************************
9901 *
9902 * Functional description
9903 * Received "EOF" from remote server
9904 * Cleanup events.
9905 *
9906 **************************************/
9907 Rdb* rdb = port->port_context;
9908
9909 if (rdb && !(port->port_flags & PORT_disconnect))
9910 {
9911 for (Rvnt* event = rdb->rdb_events; event; event = event->rvnt_next)
9912 {
9913 if (event->rvnt_id)
9914 {
9915 event->rvnt_id = 0;
9916 event->rvnt_callback->eventCallbackFunction(0, NULL);
9917 }
9918 }
9919 }
9920}
9921
9922
9923static void svcstart(CheckStatusWrapper* status,

Callers 1

event_threadFunction · 0.85

Calls 1

eventCallbackFunctionMethod · 0.45

Tested by

no test coverage detected