コード例 #1
0
 public virtual grpc::AsyncUnaryCall <global::Consul.GRpcService.Protocol.GetMsgSumReply> GetSumAsync(global::Consul.GRpcService.Protocol.GetMsgNumRequest request, grpc::Metadata headers = null, global::System.DateTime?deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken))
 {
     return(GetSumAsync(request, new grpc::CallOptions(headers, deadline, cancellationToken)));
 }
コード例 #2
0
 public virtual grpc::AsyncUnaryCall <global::Consul.GRpcService.Protocol.GetMsgSumReply> GetSumAsync(global::Consul.GRpcService.Protocol.GetMsgNumRequest request, grpc::CallOptions options)
 {
     return(CallInvoker.AsyncUnaryCall(__Method_GetSum, null, options, request));
 }
コード例 #3
0
 public virtual global::System.Threading.Tasks.Task <global::Consul.GRpcService.Protocol.GetMsgSumReply> GetSum(global::Consul.GRpcService.Protocol.GetMsgNumRequest request, grpc::ServerCallContext context)
 {
     throw new grpc::RpcException(new grpc::Status(grpc::StatusCode.Unimplemented, ""));
 }