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

Method SendReply

library/cpp/neh/netliba.cpp:340–349  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

338 }
339
340 void SendReply(TData& data) override {
341 TIntrusivePtr<TRequester> p;
342 p.Swap(P_);
343 if (!!p) {
344 if (!Canceled()) {
345 p->R_->SendResponse(R_->ReqId, &data);
346 }
347 p->RequestProcessed(this);
348 }
349 }
350
351 void SendError(TResponseError, const TString&) override {
352 // TODO

Callers

nothing calls this directly

Calls 3

SwapMethod · 0.45
SendResponseMethod · 0.45
RequestProcessedMethod · 0.45

Tested by

no test coverage detected