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

Method addMessage

src/DHTPingTask.cc:59–64  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

57DHTPingTask::~DHTPingTask() = default;
58
59void DHTPingTask::addMessage()
60{
61 getMessageDispatcher()->addMessageToQueue(
62 getMessageFactory()->createPingMessage(remoteNode_), timeout_,
63 make_unique<DHTPingReplyMessageCallback<DHTPingTask>>(this));
64}
65
66void DHTPingTask::startup() { addMessage(); }
67

Callers 2

testMessageArrivedMethod · 0.45
sendMessageMethod · 0.45

Calls 2

addMessageToQueueMethod · 0.45
createPingMessageMethod · 0.45

Tested by 1

testMessageArrivedMethod · 0.36