| 70 | |
| 71 | protected: |
| 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 |
nothing calls this directly
no test coverage detected