mongoc_server_description_type3
Usage
const char * mongoc_server_description_type (const mongoc_server_description_t *description);
Parameters
- •
-
description: A mongoc_server_description_t.
Overview
This function returns a string, one of the server types defined in the Server Discovery And Monitoring Spec:
•
|
Standalone |
|---|---|
•
|
Mongos |
•
|
PossiblePrimary |
•
|
LoadBalancer |
•
|
RSPrimary |
•
|
RSSecondary |
•
|
RSArbiter |
•
|
RSOther |
•
|
RSGhost |
•
|
Unknown |
Releases
5 releases since Debian 9 (Stretch); the text changed 4 times.