Class TwitterGrpc.TwitterStub

  • Enclosing class:
    TwitterGrpc

    public static final class TwitterGrpc.TwitterStub
    extends io.grpc.stub.AbstractAsyncStub<TwitterGrpc.TwitterStub>
    A stub to allow clients to do asynchronous rpc calls to service Twitter.
    • 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 TwitterGrpc.TwitterStub build​(io.grpc.Channel channel, io.grpc.CallOptions callOptions)  
      void getTweet​(GetTweetRequest request, io.grpc.stub.StreamObserver<GetTweetResponse> responseObserver)  
      void subscription​(SubscriptionRequest request, io.grpc.stub.StreamObserver<SubscriptionResponse> responseObserver)  
      void sync​(SyncRequest request, io.grpc.stub.StreamObserver<SyncResponse> responseObserver)  
      void syncTweet​(SyncTweetRequest request, io.grpc.stub.StreamObserver<SyncTweetResponse> responseObserver)  
      • 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, withOnReadyThreshold, withOption, withWaitForReady
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait