Class NflShopClientGrpc.NflShopClientStub
- java.lang.Object
-
- io.grpc.stub.AbstractStub<S>
-
- io.grpc.stub.AbstractAsyncStub<NflShopClientGrpc.NflShopClientStub>
-
- com.streamlayer.nflShop.nflShopClient.NflShopClientGrpc.NflShopClientStub
-
- Enclosing class:
- NflShopClientGrpc
public static final class NflShopClientGrpc.NflShopClientStub extends io.grpc.stub.AbstractAsyncStub<NflShopClientGrpc.NflShopClientStub>
A stub to allow clients to do asynchronous rpc calls to service NflShopClient.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected NflShopClientGrpc.NflShopClientStubbuild(io.grpc.Channel channel, io.grpc.CallOptions callOptions)voidgetProduct(GetProductRequest request, io.grpc.stub.StreamObserver<GetProductResponse> responseObserver)for SDK clientsvoidgetProductById(GetProductByIdRequest request, io.grpc.stub.StreamObserver<GetProductByIdResponse> responseObserver)for studiovoidlistProducts(ListProductsRequest request, io.grpc.stub.StreamObserver<ListProductsResponse> responseObserver)-
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 NflShopClientGrpc.NflShopClientStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions)
- Specified by:
buildin classio.grpc.stub.AbstractStub<NflShopClientGrpc.NflShopClientStub>
-
getProduct
public void getProduct(GetProductRequest request, io.grpc.stub.StreamObserver<GetProductResponse> responseObserver)
for SDK clients
-
getProductById
public void getProductById(GetProductByIdRequest request, io.grpc.stub.StreamObserver<GetProductByIdResponse> responseObserver)
for studio
-
listProducts
public void listProducts(ListProductsRequest request, io.grpc.stub.StreamObserver<ListProductsResponse> responseObserver)
-
-