Thrift之TProcess类体系原理及源码详细解析
2012-06-03 15:50:17 来源:WEB开发网核心提示:iprot_->getTransport()->readEnd();throw x;}if (mtype != ::apache::thrift::protocol::T_REPLY) {//处理返回消息iprot_->skip(::apache::thrift::protocol::T_STRUCT
iprot_->getTransport()->readEnd();
throw x;
}
if (mtype != ::apache::thrift::protocol::T_REPLY) {//处理返回消息
iprot_->skip(::apache::thrift::protocol::T_STRUCT);
iprot_->readMessageEnd();
iprot_->getTransport()->readEnd();
}
if (fname.compare("getName") != 0) {//看是否是我们需要的函数名,不是就跳过消息读取
iprot_->skip(::apache::thrift::protocol::T_STRUCT);
iprot_->readMessageEnd();
iprot_->getTransport()->readEnd();
}
FacebookService_getName_presult result;
更多精彩
赞助商链接