Class RoutingService.RoutingServiceClient
Client for RoutingService
Inheritance
RoutingService.RoutingServiceClient
Inherited Members
Namespace: Couchbase.Protostellar.Routing.V1
Assembly: Couchbase.NetClient.dll
Syntax
public class RoutingService.RoutingServiceClient : ClientBase<RoutingService.RoutingServiceClient>
Constructors
| Edit this page View SourceRoutingServiceClient()
Protected parameterless constructor to allow creation of test doubles.
Declaration
protected RoutingServiceClient()
RoutingServiceClient(CallInvoker)
Creates a new client for RoutingService that uses a custom CallInvoker
.
Declaration
public RoutingServiceClient(CallInvoker callInvoker)
Parameters
Type | Name | Description |
---|---|---|
Call |
callInvoker | The callInvoker to use to make remote calls. |
RoutingServiceClient(ChannelBase)
Creates a new client for RoutingService
Declaration
public RoutingServiceClient(ChannelBase channel)
Parameters
Type | Name | Description |
---|---|---|
Channel |
channel | The channel to use to make remote calls. |
RoutingServiceClient(ClientBaseConfiguration)
Protected constructor to allow creation of configured clients.
Declaration
protected RoutingServiceClient(ClientBase.ClientBaseConfiguration configuration)
Parameters
Type | Name | Description |
---|---|---|
Client |
configuration | The client configuration. |
Methods
| Edit this page View SourceNewInstance(ClientBaseConfiguration)
Creates a new instance of client from given ClientBaseConfiguration
.
Declaration
protected override RoutingService.RoutingServiceClient NewInstance(ClientBase.ClientBaseConfiguration configuration)
Parameters
Type | Name | Description |
---|---|---|
Client |
configuration |
Returns
Type | Description |
---|---|
Routing |
Overrides
| Edit this page View SourceWatchRouting(WatchRoutingRequest, CallOptions)
Declaration
public virtual AsyncServerStreamingCall<WatchRoutingResponse> WatchRouting(WatchRoutingRequest request, CallOptions options)
Parameters
Type | Name | Description |
---|---|---|
Watch |
request | |
Call |
options |
Returns
Type | Description |
---|---|
Async |
WatchRouting(WatchRoutingRequest, Metadata, DateTime?, CancellationToken)
Declaration
public virtual AsyncServerStreamingCall<WatchRoutingResponse> WatchRouting(WatchRoutingRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Parameters
Type | Name | Description |
---|---|---|
Watch |
request | |
Metadata | headers | |
Date |
deadline | |
Cancellation |
cancellationToken |
Returns
Type | Description |
---|---|
Async |