1MONGOC_APM_SET_SERVER_CLOSED_CB(3) libmongocMONGOC_APM_SET_SERVER_CLOSED_CB(3)
2
3
4

NAME

6       mongoc_apm_set_server_closed_cb - mongoc_apm_set_server_closed_cb()
7

SYNOPSIS

9          typedef void (*mongoc_apm_server_closed_cb_t) (
10             const mongoc_apm_server_closed_t *event);
11
12          void
13          mongoc_apm_set_server_closed_cb (mongoc_apm_callbacks_t *callbacks,
14                                           mongoc_apm_server_closed_cb_t cb);
15
16       Receive  an  event  notification whenever the driver stops monitoring a
17       server and removes its mongoc_server_description_t.
18

PARAMETERS

20callbacks: A mongoc_apm_callbacks_t.
21
22cb: A function to call with a mongoc_apm_server_closed_t whenever the
23         driver  stops  monitoring  a server and removes its mongoc_server_de‐
24         scription_t.
25
26       SEE ALSO:
27          Introduction to Application Performance Monitoring
28
29

AUTHOR

31       MongoDB, Inc
32
34       2017-present, MongoDB, Inc
35
36
37
38
391.20.0                           Nov 18, 2021MONGOC_APM_SET_SERVER_CLOSED_CB(3)
Impressum