aboutsummaryrefslogtreecommitdiffhomepage
path: root/include/grpc++/auth_metadata_processor.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/grpc++/auth_metadata_processor.h')
-rw-r--r--include/grpc++/auth_metadata_processor.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/grpc++/auth_metadata_processor.h b/include/grpc++/auth_metadata_processor.h
index e077ec0c60..45030a6a45 100644
--- a/include/grpc++/auth_metadata_processor.h
+++ b/include/grpc++/auth_metadata_processor.h
@@ -45,6 +45,10 @@ class AuthMetadataProcessor {
public:
virtual ~AuthMetadataProcessor() {}
+ // If this method returns true, the Process function will be scheduled in
+ // a different thread as the one processing the call.
+ virtual bool IsBlocking() const { return true; }
+
// context is read/write: it contains the properties of the channel peer and
// it is the job of the Process method to augment it with properties derived
// from the passed-in auth_metadata.