22 : connId_(connId), cob_(CHECK_NOTNULL(cob)) {}
34 const auto& ex = folly::make_exception_wrapper<folly::AsyncSocketException>(
36 "Received EOF before parsing routing data");
void read(Context *ctx, folly::IOBufQueue &q) override
RoutingDataHandler(uint64_t connId, Callback *cob)
virtual bool parseRoutingData(folly::IOBufQueue &bufQueue, RoutingData &routingData)=0
virtual void onError(uint64_t connId, folly::exception_wrapper ex)=0
void readException(Context *ctx, folly::exception_wrapper ex) override
void readEOF(Context *ctx) override
virtual void onRoutingData(uint64_t connId, RoutingData &routingData)=0
Handler< R, R, W, W >::Context Context