Esempio n. 1
0
 public override void AddMethod <TRequest, TResponse>(
     Method <TRequest, TResponse> method,
     DuplexStreamingServerMethod <TRequest, TResponse> handler)
 {
     callHandlers.Add(method.FullName, ServerCalls.DuplexStreamingCall(method, handler));
 }
Esempio n. 2
0
 public override void AddMethod <TRequest, TResponse>(
     Method <TRequest, TResponse> method,
     UnaryServerMethod <TRequest, TResponse> handler)
 {
     callHandlers.Add(method.FullName, ServerCalls.UnaryCall(method, handler));
 }