public sealed class TetherClientImpl : TetherClientReference documentation and code samples for the Apigee Connect v1 API class TetherClientImpl.
Tether client wrapper implementation, for convenient use.
Namespace
Google.Cloud.ApigeeConnect.V1Assembly
Google.Cloud.ApigeeConnect.V1.dll
Remarks
Tether provides a way for the control plane to send HTTP API requests to services in data planes that runs in a remote datacenter without requiring customers to open firewalls on their runtime plane.
Constructors
TetherClientImpl(TetherClient, TetherSettings, ILogger)
public TetherClientImpl(Tether.TetherClient grpcClient, TetherSettings settings, ILogger logger)Constructs a client wrapper for the Tether service, with the specified gRPC client and settings.
| Parameters | |
|---|---|
| Name | Description |
grpcClient |
TetherTetherClientThe underlying gRPC client. |
settings |
TetherSettingsThe base TetherSettings used within this client. |
logger |
ILoggerOptional ILogger to use within this client. |
Properties
GrpcClient
public override Tether.TetherClient GrpcClient { get; }The underlying gRPC Tether client
| Property Value | |
|---|---|
| Type | Description |
TetherTetherClient |
|
Methods
Egress(CallSettings, BidirectionalStreamingSettings)
public override TetherClient.EgressStream Egress(CallSettings callSettings = null, BidirectionalStreamingSettings streamingSettings = null)Egress streams egress requests and responses. Logically, this is not actually a streaming request, but uses streaming as a mechanism to flip the client-server relationship of gRPC so that the server can act as a client. The listener, the RPC server, accepts connections from the dialer, the RPC client. The listener streams http requests and the dialer streams http responses.
| Parameters | |
|---|---|
| Name | Description |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
streamingSettings |
BidirectionalStreamingSettingsIf not null, applies streaming overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TetherClientEgressStream |
The client-server stream. |