Class TetherGrpc.TetherStub
java.lang.Object
io.grpc.stub.AbstractStub<S>
io.grpc.stub.AbstractAsyncStub<TetherGrpc.TetherStub>
com.google.cloud.apigeeconnect.v1.TetherGrpc.TetherStub
- Enclosing class:
- TetherGrpc
public static final class TetherGrpc.TetherStub
extends io.grpc.stub.AbstractAsyncStub<TetherGrpc.TetherStub>
A stub to allow clients to do asynchronous rpc calls to service Tether.
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.
-
Nested Class Summary
Nested classes/interfaces inherited from class io.grpc.stub.AbstractStub
io.grpc.stub.AbstractStub.StubFactory<T extends io.grpc.stub.AbstractStub<T>> -
Method Summary
Modifier and TypeMethodDescriptionprotected TetherGrpc.TetherStubbuild(io.grpc.Channel channel, io.grpc.CallOptions callOptions) io.grpc.stub.StreamObserver<EgressResponse>egress(io.grpc.stub.StreamObserver<EgressRequest> responseObserver) Egress streams egress requests and responses.Methods inherited from class io.grpc.stub.AbstractAsyncStub
newStub, newStubMethods inherited from class io.grpc.stub.AbstractStub
getCallOptions, getChannel, withCallCredentials, withChannel, withCompression, withDeadline, withDeadlineAfter, withDeadlineAfter, withExecutor, withInterceptors, withMaxInboundMessageSize, withMaxOutboundMessageSize, withOnReadyThreshold, withOption, withWaitForReady
-
Method Details
-
build
- Specified by:
buildin classio.grpc.stub.AbstractStub<TetherGrpc.TetherStub>
-
egress
public io.grpc.stub.StreamObserver<EgressResponse> egress(io.grpc.stub.StreamObserver<EgressRequest> responseObserver) 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.
-