| 300 | struct 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 | }; |
| 310 | REGISTER_CMD(PingCmd, "ping"); |
| 311 |
nothing calls this directly
no test coverage detected