Package pl.morgwai.base.grpc.scopes
-
Class Summary Class Description ContextInterceptor Creates and starts tracking a newRpcContext
for each new RPC (ServerCall
) and a newListenerCallContext
for eachServerCall.Listener
call.GrpcModule gRPC GuiceScope
s,ContextTracker
s and some helper methods.
NO STATIC: by a common convention, objects such asScope
s are usually stored onstatic
vars.ListenerCallContext Context of a single call to one of the methods ofServerCall.Listener
.RpcContext Context of a given RPC (ServerCall
).