Update completion type enum to reflect changes in grpc.h

pull/492/head
Jan Tattermusch 10 years ago
parent 31f89f877d
commit 630f1b842e
  1. 37
      src/csharp/GrpcCore/Internal/Enums.cs

@ -36,29 +36,36 @@ namespace Google.GRPC.Core.Internal
/// </summary> /// </summary>
internal enum GRPCCompletionType internal enum GRPCCompletionType
{ {
GRPC_QUEUE_SHUTDOWN,
/* Shutting down */ /* Shutting down */
GRPC_READ, GRPC_QUEUE_SHUTDOWN,
/* operation completion */
GRPC_OP_COMPLETE,
/* A read has completed */ /* A read has completed */
GRPC_INVOKE_ACCEPTED, GRPC_READ,
/* An invoke call has been accepted by flow
control */ /* A write has been accepted by flow control */
GRPC_WRITE_ACCEPTED, GRPC_WRITE_ACCEPTED,
/* A write has been accepted by
flow control */
GRPC_FINISH_ACCEPTED,
/* writes_done or write_status has been accepted */ /* writes_done or write_status has been accepted */
GRPC_FINISH_ACCEPTED,
/* The metadata array sent by server received at client */
GRPC_CLIENT_METADATA_READ, GRPC_CLIENT_METADATA_READ,
/* The metadata array sent by server received at
client */
GRPC_FINISHED,
/* An RPC has finished. The event contains status. /* An RPC has finished. The event contains status.
On the server this will be OK or Cancelled. */ * On the server this will be OK or Cancelled. */
GRPC_SERVER_RPC_NEW, GRPC_FINISHED,
/* A new RPC has arrived at the server */ /* A new RPC has arrived at the server */
GRPC_SERVER_RPC_NEW,
/* The server has finished shutting down */
GRPC_SERVER_SHUTDOWN,
/* must be last, forces users to include a default: case */
GRPC_COMPLETION_DO_NOT_USE GRPC_COMPLETION_DO_NOT_USE
/* must be last, forces users to include
a default: case */
} }
/// <summary> /// <summary>

Loading…
Cancel
Save