diff options
author | Jan Tattermusch <jtattermusch@google.com> | 2017-11-20 16:38:05 +0100 |
---|---|---|
committer | Jan Tattermusch <jtattermusch@google.com> | 2017-11-21 07:55:09 +0100 |
commit | 2622fdc07d5a82bd71c08f836b54237984000a88 (patch) | |
tree | c5d85c3a863116c8224ab1af372399863cba9e41 | |
parent | c5638887bfa899c796db911efde5ae770b7dc043 (diff) |
remove legacy delegates
-rw-r--r-- | src/csharp/Grpc.Core/Internal/INativeCall.cs | 15 |
1 files changed, 1 insertions, 14 deletions
diff --git a/src/csharp/Grpc.Core/Internal/INativeCall.cs b/src/csharp/Grpc.Core/Internal/INativeCall.cs index 3474ad6208..717c9460ab 100644 --- a/src/csharp/Grpc.Core/Internal/INativeCall.cs +++ b/src/csharp/Grpc.Core/Internal/INativeCall.cs @@ -20,25 +20,12 @@ using Grpc.Core; namespace Grpc.Core.Internal { - internal delegate void UnaryResponseClientHandler(bool success, ClientSideStatus receivedStatus, byte[] receivedMessage, Metadata responseHeaders); - - // Received status for streaming response calls. - internal delegate void ReceivedStatusOnClientHandler(bool success, ClientSideStatus receivedStatus); - - internal delegate void ReceivedMessageHandler(bool success, byte[] receivedMessage); - - internal delegate void ReceivedResponseHeadersHandler(bool success, Metadata responseHeaders); - - internal delegate void SendCompletionHandler(bool success); - - internal delegate void ReceivedCloseOnServerHandler(bool success, bool cancelled); - - internal interface IUnaryResponseClientCallback { void OnUnaryResponseClient(bool success, ClientSideStatus receivedStatus, byte[] receivedMessage, Metadata responseHeaders); } + // Received status for streaming response calls. internal interface IReceivedStatusOnClientCallback { void OnReceivedStatusOnClient(bool success, ClientSideStatus receivedStatus); |