Exemplo 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));
 }
Exemplo 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));
 }