class GlobalCallbacks

Defined at line 73 of file ../../third_party/grpc-migrating/src/include/grpcpp/server.h

Global callbacks are a set of hooks that are called when server

events occur.

method is used to register

the hooks with gRPC. Note that

the

instance will be shared among all

instances in an application and can be set exactly

once per application.

Public Methods

void PreSynchronousRequest (ServerContext * context)

Called before application callback for each synchronous server request

void PostSynchronousRequest (ServerContext * context)

Called after application callback for each synchronous server request

void ~GlobalCallbacks ()

Defined at line 75 of file ../../third_party/grpc-migrating/src/include/grpcpp/server.h

void UpdateArguments (ChannelArguments * )

Called before server is created.

Defined at line 77 of file ../../third_party/grpc-migrating/src/include/grpcpp/server.h

void PreServerStart (Server * )

Called before server is started.

Defined at line 83 of file ../../third_party/grpc-migrating/src/include/grpcpp/server.h

void AddPort (Server * , const std::string & , ServerCredentials * , int )

Called after a server port is added.

Defined at line 85 of file ../../third_party/grpc-migrating/src/include/grpcpp/server.h