Apigee Connect v1 API - Class Tether.TetherBase (2.2.0)

[BindServiceMethod(typeof(Tether), "BindService")]
public abstract class Tether.TetherBase

Reference documentation and code samples for the Apigee Connect v1 API class Tether.TetherBase.

Base class for server-side implementations of Tether

Inheritance

object > Tether.TetherBase

Namespace

Google.Cloud.ApigeeConnect.V1

Assembly

Google.Cloud.ApigeeConnect.V1.dll

Methods

Egress(IAsyncStreamReader<EgressResponse>, IServerStreamWriter<EgressRequest>, ServerCallContext)

public virtual Task Egress(IAsyncStreamReader<EgressResponse> requestStream, IServerStreamWriter<EgressRequest> responseStream, ServerCallContext context)

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
requestStreamIAsyncStreamReaderEgressResponse

Used for reading requests from the client.

responseStreamIServerStreamWriterEgressRequest

Used for sending responses back to the client.

contextServerCallContext

The context of the server-side call handler being invoked.

Returns
TypeDescription
Task

A task indicating completion of the handler.