MCPcopy Create free account
hub / github.com/Tencent/phxqueue / CustomGetRequest

Method CustomGetRequest

phxqueue/consumer/consumer.cpp:994–998  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

992}
993
994void Consumer::CustomGetRequest(const comm::proto::ConsumerContext &cc,
995 const comm::proto::GetRequest &req,
996 uint64_t &pre_cursor_id, uint64_t &next_cursor_id, int &limit) {
997 pre_cursor_id = req.next_cursor_id();
998}
999
1000void Consumer::AfterConsume(const comm::proto::ConsumerContext &cc,
1001 const std::vector<std::shared_ptr<comm::proto::QItem> > &items,

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected