MongoDBCDriver  0.7.1
Public Attributes
mongo Struct Reference

List of all members.

Public Attributes

mongo_host_portprimary
 Primary connection info.
mongo_replica_setreplica_set
 replica_set object if connected to a replica set.
int sock
 Socket file descriptor.
int flags
 Flags on this connection object.
int conn_timeout_ms
 Connection timeout in milliseconds.
int op_timeout_ms
 Read and write timeout in milliseconds.
int max_bson_size
 Largest BSON object allowed on this connection.
bson_bool_t connected
 Connection status.
mongo_write_concernwrite_concern
 The default write concern.
mongo_error_t err
 Most recent driver error code.
int errcode
 Most recent errno or WSAGetLastError().
char errstr [MONGO_ERR_LEN]
 String version of error.
int lasterrcode
 getlasterror code from the server.
char lasterrstr [MONGO_ERR_LEN]
 getlasterror string from the server.

Member Data Documentation

Connection timeout in milliseconds.

bson_bool_t mongo::connected

Connection status.

Most recent driver error code.

Most recent errno or WSAGetLastError().

char mongo::errstr[MONGO_ERR_LEN]

String version of error.

Flags on this connection object.

getlasterror code from the server.

char mongo::lasterrstr[MONGO_ERR_LEN]

getlasterror string from the server.

Largest BSON object allowed on this connection.

Read and write timeout in milliseconds.

Primary connection info.

replica_set object if connected to a replica set.

Socket file descriptor.

The default write concern.


The documentation for this struct was generated from the following file: