MCPcopy Create free account
hub / github.com/aria2/aria2 / createPingMessage

Method createPingMessage

src/DHTMessageFactoryImpl.cc:322–329  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

320}
321
322std::unique_ptr<DHTPingMessage> DHTMessageFactoryImpl::createPingMessage(
323 const std::shared_ptr<DHTNode>& remoteNode,
324 const std::string& transactionID)
325{
326 auto m = make_unique<DHTPingMessage>(localNode_, remoteNode, transactionID);
327 setCommonProperty(m.get());
328 return m;
329}
330
331std::unique_ptr<DHTPingReplyMessage>
332DHTMessageFactoryImpl::createPingReplyMessage(

Callers 2

addMessageMethod · 0.45
sendMessageMethod · 0.45

Calls 1

getMethod · 0.45

Tested by

no test coverage detected