Beispiel #1
0
        public void MergeFrom(pb::CodedInputStream input)
        {
            uint tag;

            while ((tag = input.ReadTag()) != 0)
            {
                switch (tag)
                {
                default:
                    input.SkipLastField();
                    break;

                case 10: {
                    if (replay_ == null)
                    {
                        replay_ = new global::GRPCDemo.HelloReply();
                    }
                    input.ReadMessage(replay_);
                    break;
                }

                case 18: {
                    if (reqeust_ == null)
                    {
                        reqeust_ = new global::GRPCDemo.HelloRequest();
                    }
                    input.ReadMessage(reqeust_);
                    break;
                }
                }
            }
        }
Beispiel #2
0
 public void MergeFrom(InculdeObj other)
 {
     if (other == null)
     {
         return;
     }
     if (other.replay_ != null)
     {
         if (replay_ == null)
         {
             replay_ = new global::GRPCDemo.HelloReply();
         }
         Replay.MergeFrom(other.Replay);
     }
     if (other.reqeust_ != null)
     {
         if (reqeust_ == null)
         {
             reqeust_ = new global::GRPCDemo.HelloRequest();
         }
         Reqeust.MergeFrom(other.Reqeust);
     }
 }
Beispiel #3
0
 public virtual grpc::AsyncUnaryCall <global::GRPCDemo.HelloReply> SayHelloAsync(global::GRPCDemo.HelloRequest request, grpc::CallOptions options)
 {
     return(CallInvoker.AsyncUnaryCall(__Method_SayHello, null, options, request));
 }
Beispiel #4
0
 public virtual grpc::AsyncUnaryCall <global::GRPCDemo.HelloReply> SayHelloAsync(global::GRPCDemo.HelloRequest 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)));
 }
Beispiel #5
0
 public virtual global::GRPCDemo.HelloReply SayHello(global::GRPCDemo.HelloRequest request, grpc::CallOptions options)
 {
     return(CallInvoker.BlockingUnaryCall(__Method_SayHello, null, options, request));
 }
Beispiel #6
0
 public virtual global::System.Threading.Tasks.Task <global::GRPCDemo.HelloReply> SayHello(global::GRPCDemo.HelloRequest request, grpc::ServerCallContext context)
 {
     throw new grpc::RpcException(new grpc::Status(grpc::StatusCode.Unimplemented, ""));
 }
Beispiel #7
0
 public virtual AsyncUnaryCall <global::GRPCDemo.HelloReply> SayHelloAsync(global::GRPCDemo.HelloRequest request, Metadata headers = null, DateTime?deadline = null, CancellationToken cancellationToken = default(CancellationToken))
 {
     return(SayHelloAsync(request, new CallOptions(headers, deadline, cancellationToken)));
 }
Beispiel #8
0
 public virtual global::GRPCDemo.list1 Getlsit(global::GRPCDemo.HelloRequest request, grpc::Metadata headers = null, global::System.DateTime?deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken))
 {
     return(Getlsit(request, new grpc::CallOptions(headers, deadline, cancellationToken)));
 }
Beispiel #9
0
 public virtual grpc::AsyncUnaryCall <global::GRPCDemo.list1> GetlsitAsync(global::GRPCDemo.HelloRequest request, grpc::CallOptions options)
 {
     return(CallInvoker.AsyncUnaryCall(__Method_Getlsit, null, options, request));
 }
Beispiel #10
0
 public virtual global::GRPCDemo.list1 Getlsit(global::GRPCDemo.HelloRequest request, grpc::CallOptions options)
 {
     return(CallInvoker.BlockingUnaryCall(__Method_Getlsit, null, options, request));
 }
 public virtual global::GRPCDemo.HelloReply SayHello(global::GRPCDemo.HelloRequest request, grpc::Metadata headers = null, DateTime?deadline = null, CancellationToken cancellationToken = default(CancellationToken))
 {
     return(SayHello(request, new grpc::CallOptions(headers, deadline, cancellationToken)));
 }