MCPcopy Create free account
hub / github.com/catboost/catboost / EnqueueSend

Method EnqueueSend

library/cpp/netliba/v12/udp_host.cpp:291–294  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

289 }
290
291 void EnqueueSend(const TTransfer& transfer, TAutoPtr<TRopeDataPacket> data, EPacketPriority pp, const TTos& tos, ui8 netlibaColor) {
292 TSendCmd* sendCmd = new TSendCmd(transfer, data, pp, tos, netlibaColor);
293 Queue.Enqueue(std::make_pair(ETXUserCmd::TXUC_SEND, sendCmd));
294 }
295
296 void EnqueueCancel(const TTransfer& transfer) {
297 TCancelCmd* cancelCmd = new TCancelCmd(transfer);

Callers 1

SendMethod · 0.80

Calls 1

EnqueueMethod · 0.45

Tested by

no test coverage detected