コード例 #1
0
ファイル: HelloworldGrpc.cs プロジェクト: philiahe/Benchmark
 public virtual grpc::AsyncUnaryCall <global::GrpcTest.SayHelloResultArgs> SayHelloAsync(global::GrpcTest.SayHelloArgs request, grpc::CallOptions options)
 {
     return(CallInvoker.AsyncUnaryCall(__Method_SayHello, null, options, request));
 }
コード例 #2
0
ファイル: HelloworldGrpc.cs プロジェクト: philiahe/Benchmark
 public virtual global::GrpcTest.SayHelloResultArgs SayHello(global::GrpcTest.SayHelloArgs request, grpc::CallOptions options)
 {
     return(CallInvoker.BlockingUnaryCall(__Method_SayHello, null, options, request));
 }
コード例 #3
0
ファイル: HelloworldGrpc.cs プロジェクト: philiahe/Benchmark
 public virtual grpc::AsyncUnaryCall <global::GrpcTest.SayHelloResultArgs> SayHelloAsync(global::GrpcTest.SayHelloArgs request, grpc::Metadata headers = null, global::System.DateTime?deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken))
 {
     return(SayHelloAsync(request, new grpc::CallOptions(headers, deadline, cancellationToken)));
 }
コード例 #4
0
ファイル: HelloworldGrpc.cs プロジェクト: philiahe/Benchmark
 public virtual global::System.Threading.Tasks.Task <global::GrpcTest.SayHelloResultArgs> SayHello(global::GrpcTest.SayHelloArgs request, grpc::ServerCallContext context)
 {
     throw new grpc::RpcException(new grpc::Status(grpc::StatusCode.Unimplemented, ""));
 }