MCPcopy Create free account
hub / github.com/FoundationDB/fdb-document-layer / call

Method call

src/ExtCmd.actor.cpp:302–308  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

300struct PingCmd {
301 static const char* name;
302 static Future<Reference<ExtMsgReply>> call(Reference<ExtConnection> nmc,
303 Reference<ExtMsgQuery> query,
304 Reference<ExtMsgReply> reply) {
305 reply->addDocument(BSON("ok" << 1.0));
306
307 return reply;
308 }
309};
310REGISTER_CMD(PingCmd, "ping");
311

Callers

nothing calls this directly

Calls 1

addDocumentMethod · 0.80

Tested by

no test coverage detected