|
libmongo-client
0.1.8
|
Mongo packet header. More...
#include <mongo-wire.h>
Data Fields | |
| gint32 | length |
| Full length of the packet, including the header. More... | |
| gint32 | id |
| Sequence ID, used when MongoDB responds to a command. More... | |
| gint32 | resp_to |
| ID the response is an answer to. More... | |
| gint32 | opcode |
| The opcode of the command. More... | |
Mongo packet header.
Every mongo packet has a header like this. Normally, one does not need to touch it, though.
| gint32 mongo_packet_header::id |
Sequence ID, used when MongoDB responds to a command.
| gint32 mongo_packet_header::length |
Full length of the packet, including the header.
| gint32 mongo_packet_header::opcode |
The opcode of the command.
| gint32 mongo_packet_header::resp_to |
ID the response is an answer to.
Only sent by the MongoDB server, never set on client-side.
1.8.9.1