예제 #1
0
 /// <summary>
 ///  Get the value of a key.
 /// </summary>
 public virtual AsyncUnaryCall <global::GrpcDemo.ServiceValue> GetKeyValueAsync(global::GrpcDemo.ServiceKey request, CallOptions options)
 {
     return(CallInvoker.AsyncUnaryCall(__Method_GetKeyValue, null, options, request));
 }
예제 #2
0
 /// <summary>
 ///  Get the value of a key.
 /// </summary>
 public virtual global::GrpcDemo.ServiceValue GetKeyValue(global::GrpcDemo.ServiceKey request, CallOptions options)
 {
     return(CallInvoker.BlockingUnaryCall(__Method_GetKeyValue, null, options, request));
 }
예제 #3
0
 /// <summary>
 ///  Get the value of a key.
 /// </summary>
 public virtual AsyncUnaryCall <global::GrpcDemo.ServiceValue> GetKeyValueAsync(global::GrpcDemo.ServiceKey request, Metadata headers = null, DateTime?deadline = null, CancellationToken cancellationToken = default(CancellationToken))
 {
     return(GetKeyValueAsync(request, new CallOptions(headers, deadline, cancellationToken)));
 }
예제 #4
0
 /// <summary>
 ///  Get the value of a key.
 /// </summary>
 public virtual global::System.Threading.Tasks.Task <global::GrpcDemo.ServiceValue> GetKeyValue(global::GrpcDemo.ServiceKey request, ServerCallContext context)
 {
     throw new RpcException(new Status(StatusCode.Unimplemented, ""));
 }