aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/csharp/GrpcApi/IMathServiceClient.cs
blob: 51385a328f49a20991a88607c6418fc28b714071 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
using System;
using System.Threading;
using System.Threading.Tasks;
using System.Collections.Generic;
using System.Reactive.Linq;
using Google.GRPC.Core;

namespace math
{
	/// <summary>
	/// Hand-written stub for MathService defined in math.proto.
	/// This code will be generated by gRPC codegen in the future.
	/// </summary>
	public interface IMathServiceClient
	{
		DivReply Div(DivArgs args, CancellationToken token = default(CancellationToken));

		Task<DivReply> DivAsync(DivArgs args, CancellationToken token = default(CancellationToken));

		Task Fib(FibArgs args, IObserver<Num> outputs, CancellationToken token = default(CancellationToken));

		ClientStreamingAsyncResult<Num, Num> Sum(CancellationToken token = default(CancellationToken));

		IObserver<DivArgs> DivMany(IObserver<DivReply> outputs, CancellationToken token = default(CancellationToken));
	}
}