MCPcopy Create free account
hub / github.com/apache/thrift / processFast

Method processFast

lib/cpp/src/thrift/TDispatchProcessor.h:72–84  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

70
71protected:
72 bool processFast(Protocol_* in, Protocol_* out, void* connectionContext) {
73 std::string fname;
74 protocol::TMessageType mtype;
75 int32_t seqid;
76 in->readMessageBegin(fname, mtype, seqid);
77
78 if (mtype != protocol::T_CALL && mtype != protocol::T_ONEWAY) {
79 TOutput::instance().printf("received invalid message type %d from client", mtype);
80 return false;
81 }
82
83 return this->dispatchCallTemplated(in, out, fname, seqid, connectionContext);
84 }
85
86 /**
87 * dispatchCall() methods must be implemented by subclasses

Callers

nothing calls this directly

Calls 2

printfMethod · 0.80
readMessageBeginMethod · 0.65

Tested by

no test coverage detected