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

Method LpdReceiveMessageCommand

src/LpdReceiveMessageCommand.cc:54–60  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

52namespace aria2 {
53
54LpdReceiveMessageCommand::LpdReceiveMessageCommand(
55 cuid_t cuid, const std::shared_ptr<LpdMessageReceiver>& receiver,
56 DownloadEngine* e)
57 : Command(cuid), receiver_(receiver), e_(e)
58{
59 e_->addSocketForReadCheck(receiver_->getSocket(), this);
60}
61
62LpdReceiveMessageCommand::~LpdReceiveMessageCommand()
63{

Callers

nothing calls this directly

Calls 2

addSocketForReadCheckMethod · 0.80
getSocketMethod · 0.45

Tested by

no test coverage detected