diff options
author | 2016-10-24 13:00:10 -0700 | |
---|---|---|
committer | 2016-10-24 13:00:10 -0700 | |
commit | d30699c7bebfa3cb0ad4ba1eac99284a52b7859f (patch) | |
tree | 32ed6c891354680361699707301273eee4c9ac54 /src/csharp/Grpc.Core/Internal/ServerSafeHandle.cs | |
parent | 654aa869d2817a9be127f66df8cd8b18e7b760bc (diff) | |
parent | 13ca42dbae2656b97b3e40e0fa8b63aae7fd5dd5 (diff) |
Merge remote-tracking branch 'upstream/master' into reflection_header
Diffstat (limited to 'src/csharp/Grpc.Core/Internal/ServerSafeHandle.cs')
-rw-r--r-- | src/csharp/Grpc.Core/Internal/ServerSafeHandle.cs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/csharp/Grpc.Core/Internal/ServerSafeHandle.cs b/src/csharp/Grpc.Core/Internal/ServerSafeHandle.cs index 014a8db78f..7d7b838616 100644 --- a/src/csharp/Grpc.Core/Internal/ServerSafeHandle.cs +++ b/src/csharp/Grpc.Core/Internal/ServerSafeHandle.cs @@ -85,12 +85,12 @@ namespace Grpc.Core.Internal } } - public void RequestCall(BatchCompletionDelegate callback, CompletionQueueSafeHandle completionQueue) + public void RequestCall(RequestCallCompletionDelegate callback, CompletionQueueSafeHandle completionQueue) { using (completionQueue.NewScope()) { - var ctx = BatchContextSafeHandle.Create(); - completionQueue.CompletionRegistry.RegisterBatchCompletion(ctx, callback); + var ctx = RequestCallContextSafeHandle.Create(); + completionQueue.CompletionRegistry.RegisterRequestCallCompletion(ctx, callback); Native.grpcsharp_server_request_call(this, completionQueue, ctx).CheckOk(); } } |