Class 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

      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.
      • Methods inherited from class io.grpc.stub.AbstractAsyncStub

        newStub, newStub
      • Methods inherited from class io.grpc.stub.AbstractStub

        getCallOptions, getChannel, withCallCredentials, withChannel, withCompression, withDeadline, withDeadlineAfter, withExecutor, withInterceptors, withMaxInboundMessageSize, withMaxOutboundMessageSize, withOption, withWaitForReady
    • Method Detail

      • 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.