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

Method setReadCheckSocket

src/DHTInteractionCommand.cc:78–85  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

76}
77
78void DHTInteractionCommand::setReadCheckSocket(
79 const std::shared_ptr<SocketCore>& socket)
80{
81 readCheckSocket_ = socket;
82 if (socket) {
83 e_->addSocketForReadCheck(socket, this);
84 }
85}
86
87void DHTInteractionCommand::disableReadCheckSocket(
88 const std::shared_ptr<SocketCore>& socket)

Callers

nothing calls this directly

Calls 1

addSocketForReadCheckMethod · 0.80

Tested by

no test coverage detected