Package com.streamlayer.social
Class TwitterGrpc.TwitterFutureStub
- java.lang.Object
-
- io.grpc.stub.AbstractStub<S>
-
- io.grpc.stub.AbstractFutureStub<TwitterGrpc.TwitterFutureStub>
-
- com.streamlayer.social.TwitterGrpc.TwitterFutureStub
-
- Enclosing class:
- TwitterGrpc
public static final class TwitterGrpc.TwitterFutureStub extends io.grpc.stub.AbstractFutureStub<TwitterGrpc.TwitterFutureStub>
A stub to allow clients to do ListenableFuture-style rpc calls to service Twitter.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected TwitterGrpc.TwitterFutureStubbuild(io.grpc.Channel channel, io.grpc.CallOptions callOptions)com.google.common.util.concurrent.ListenableFuture<GetTweetResponse>getTweet(GetTweetRequest request)com.google.common.util.concurrent.ListenableFuture<SyncResponse>sync(SyncRequest request)com.google.common.util.concurrent.ListenableFuture<SyncTweetResponse>syncTweet(SyncTweetRequest request)-
Methods inherited from class io.grpc.stub.AbstractStub
getCallOptions, getChannel, withCallCredentials, withChannel, withCompression, withDeadline, withDeadlineAfter, withExecutor, withInterceptors, withMaxInboundMessageSize, withMaxOutboundMessageSize, withOnReadyThreshold, withOption, withWaitForReady
-
-
-
-
Method Detail
-
build
protected TwitterGrpc.TwitterFutureStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions)
- Specified by:
buildin classio.grpc.stub.AbstractStub<TwitterGrpc.TwitterFutureStub>
-
sync
public com.google.common.util.concurrent.ListenableFuture<SyncResponse> sync(SyncRequest request)
-
getTweet
public com.google.common.util.concurrent.ListenableFuture<GetTweetResponse> getTweet(GetTweetRequest request)
-
syncTweet
public com.google.common.util.concurrent.ListenableFuture<SyncTweetResponse> syncTweet(SyncTweetRequest request)
-
-