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

Method CreateRequester

library/cpp/neh/udp.cpp:670–672  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

668 class TProtocol: public IProtocol {
669 public:
670 IRequesterRef CreateRequester(IOnRequest* cb, const TParsedLocation& loc) override {
671 return new TRequester(cb, loc.GetPort());
672 }
673
674 THandleRef ScheduleRequest(const TMessage& msg, IOnRecv* fallback, TServiceStatRef& ss) override {
675 TNotifyHandleRef ret(new TUdpHandle(fallback, msg, !ss ? nullptr : new TStatCollector(ss)));

Callers

nothing calls this directly

Calls 1

GetPortMethod · 0.45

Tested by

no test coverage detected