|
|
|
@ -168,9 +168,13 @@ namespace Grpc.Testing { |
|
|
|
|
/// <summary>Client for TestService</summary> |
|
|
|
|
public class TestServiceClient : ClientBase<TestServiceClient> |
|
|
|
|
{ |
|
|
|
|
/// <summary>Creates a new client for TestService</summary> |
|
|
|
|
/// <param name="channel">The channel to use to make remote calls.</param> |
|
|
|
|
public TestServiceClient(Channel channel) : base(channel) |
|
|
|
|
{ |
|
|
|
|
} |
|
|
|
|
/// <summary>Creates a new client for TestService that uses a custom <c>CallInvoker</c>.</summary> |
|
|
|
|
/// <param name="callInvoker">The callInvoker to use to make remote calls.</param> |
|
|
|
|
public TestServiceClient(CallInvoker callInvoker) : base(callInvoker) |
|
|
|
|
{ |
|
|
|
|
} |
|
|
|
@ -179,6 +183,7 @@ namespace Grpc.Testing { |
|
|
|
|
{ |
|
|
|
|
} |
|
|
|
|
/// <summary>Protected constructor to allow creation of configured clients.</summary> |
|
|
|
|
/// <param name="configuration">The client configuration.</param> |
|
|
|
|
protected TestServiceClient(ClientBaseConfiguration configuration) : base(configuration) |
|
|
|
|
{ |
|
|
|
|
} |
|
|
|
@ -315,12 +320,6 @@ namespace Grpc.Testing { |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
/// <summary>Creates a new client for TestService</summary> |
|
|
|
|
public static TestServiceClient NewClient(Channel channel) |
|
|
|
|
{ |
|
|
|
|
return new TestServiceClient(channel); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
/// <summary>Creates service definition that can be registered with a server</summary> |
|
|
|
|
public static ServerServiceDefinition BindService(TestServiceBase serviceImpl) |
|
|
|
|
{ |
|
|
|
@ -373,9 +372,13 @@ namespace Grpc.Testing { |
|
|
|
|
/// <summary>Client for UnimplementedService</summary> |
|
|
|
|
public class UnimplementedServiceClient : ClientBase<UnimplementedServiceClient> |
|
|
|
|
{ |
|
|
|
|
/// <summary>Creates a new client for UnimplementedService</summary> |
|
|
|
|
/// <param name="channel">The channel to use to make remote calls.</param> |
|
|
|
|
public UnimplementedServiceClient(Channel channel) : base(channel) |
|
|
|
|
{ |
|
|
|
|
} |
|
|
|
|
/// <summary>Creates a new client for UnimplementedService that uses a custom <c>CallInvoker</c>.</summary> |
|
|
|
|
/// <param name="callInvoker">The callInvoker to use to make remote calls.</param> |
|
|
|
|
public UnimplementedServiceClient(CallInvoker callInvoker) : base(callInvoker) |
|
|
|
|
{ |
|
|
|
|
} |
|
|
|
@ -384,6 +387,7 @@ namespace Grpc.Testing { |
|
|
|
|
{ |
|
|
|
|
} |
|
|
|
|
/// <summary>Protected constructor to allow creation of configured clients.</summary> |
|
|
|
|
/// <param name="configuration">The client configuration.</param> |
|
|
|
|
protected UnimplementedServiceClient(ClientBaseConfiguration configuration) : base(configuration) |
|
|
|
|
{ |
|
|
|
|
} |
|
|
|
@ -422,12 +426,6 @@ namespace Grpc.Testing { |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
/// <summary>Creates a new client for UnimplementedService</summary> |
|
|
|
|
public static UnimplementedServiceClient NewClient(Channel channel) |
|
|
|
|
{ |
|
|
|
|
return new UnimplementedServiceClient(channel); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
/// <summary>Creates service definition that can be registered with a server</summary> |
|
|
|
|
public static ServerServiceDefinition BindService(UnimplementedServiceBase serviceImpl) |
|
|
|
|
{ |
|
|
|
@ -485,9 +483,13 @@ namespace Grpc.Testing { |
|
|
|
|
/// <summary>Client for ReconnectService</summary> |
|
|
|
|
public class ReconnectServiceClient : ClientBase<ReconnectServiceClient> |
|
|
|
|
{ |
|
|
|
|
/// <summary>Creates a new client for ReconnectService</summary> |
|
|
|
|
/// <param name="channel">The channel to use to make remote calls.</param> |
|
|
|
|
public ReconnectServiceClient(Channel channel) : base(channel) |
|
|
|
|
{ |
|
|
|
|
} |
|
|
|
|
/// <summary>Creates a new client for ReconnectService that uses a custom <c>CallInvoker</c>.</summary> |
|
|
|
|
/// <param name="callInvoker">The callInvoker to use to make remote calls.</param> |
|
|
|
|
public ReconnectServiceClient(CallInvoker callInvoker) : base(callInvoker) |
|
|
|
|
{ |
|
|
|
|
} |
|
|
|
@ -496,6 +498,7 @@ namespace Grpc.Testing { |
|
|
|
|
{ |
|
|
|
|
} |
|
|
|
|
/// <summary>Protected constructor to allow creation of configured clients.</summary> |
|
|
|
|
/// <param name="configuration">The client configuration.</param> |
|
|
|
|
protected ReconnectServiceClient(ClientBaseConfiguration configuration) : base(configuration) |
|
|
|
|
{ |
|
|
|
|
} |
|
|
|
@ -538,12 +541,6 @@ namespace Grpc.Testing { |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
/// <summary>Creates a new client for ReconnectService</summary> |
|
|
|
|
public static ReconnectServiceClient NewClient(Channel channel) |
|
|
|
|
{ |
|
|
|
|
return new ReconnectServiceClient(channel); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
/// <summary>Creates service definition that can be registered with a server</summary> |
|
|
|
|
public static ServerServiceDefinition BindService(ReconnectServiceBase serviceImpl) |
|
|
|
|
{ |
|
|
|
|