Class TetherClientImpl (2.0.0)

public sealed class TetherClientImpl : TetherClient

Tether client wrapper implementation, for convenient use.

Inheritance

Object > TetherClient > TetherClientImpl

Namespace

Google.Cloud.ApigeeConnect.V1

Assembly

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(Tether.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
NameDescription
grpcClientTether.TetherClient

The underlying gRPC client.

settingsTetherSettings

The base TetherSettings used within this client.

loggerILogger

Optional ILogger to use within this client.

Properties

GrpcClient

public override Tether.TetherClient GrpcClient { get; }

The underlying gRPC Tether client

Property Value
TypeDescription
Tether.TetherClient
Overrides

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
NameDescription
callSettingsCallSettings

If not null, applies overrides to this RPC call.

streamingSettingsBidirectionalStreamingSettings

If not null, applies streaming overrides to this RPC call.

Returns
TypeDescription
TetherClient.EgressStream

The client-server stream.

Overrides