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.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected TetherGrpc.TetherStub
build(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.
-
-
-
Method Detail
-
build
protected TetherGrpc.TetherStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions)
- Specified by:
build
in 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.
-
-