|
|
@ -60,14 +60,14 @@ void ProtoServerReflectionPlugin::ChangeArguments(const grpc::string& name, |
|
|
|
void* value) {} |
|
|
|
void* value) {} |
|
|
|
|
|
|
|
|
|
|
|
bool ProtoServerReflectionPlugin::has_sync_methods() const { |
|
|
|
bool ProtoServerReflectionPlugin::has_sync_methods() const { |
|
|
|
if (reflection_service_ != nullptr) { |
|
|
|
if (reflection_service_) { |
|
|
|
return reflection_service_->has_synchronous_methods(); |
|
|
|
return reflection_service_->has_synchronous_methods(); |
|
|
|
} |
|
|
|
} |
|
|
|
return false; |
|
|
|
return false; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
bool ProtoServerReflectionPlugin::has_async_methods() const { |
|
|
|
bool ProtoServerReflectionPlugin::has_async_methods() const { |
|
|
|
if (reflection_service_ != nullptr) { |
|
|
|
if (reflection_service_) { |
|
|
|
return reflection_service_->has_async_methods(); |
|
|
|
return reflection_service_->has_async_methods(); |
|
|
|
} |
|
|
|
} |
|
|
|
return false; |
|
|
|
return false; |
|
|
|