Package io.vertx.tp.ipc.service
Class VertxDupliexServiceGrpc.DupliexServiceVertxImplBase
- java.lang.Object
-
- io.vertx.tp.ipc.service.VertxDupliexServiceGrpc.DupliexServiceVertxImplBase
-
- All Implemented Interfaces:
io.grpc.BindableService
- Enclosing class:
- VertxDupliexServiceGrpc
public abstract static class VertxDupliexServiceGrpc.DupliexServiceVertxImplBase extends Object implements io.grpc.BindableService
-
-
Constructor Summary
Constructors Constructor Description DupliexServiceVertxImplBase()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description io.grpc.ServerServiceDefinitionbindService()voiddupliexCall(io.vertx.core.streams.ReadStream<StreamClientRequest> request, io.vertx.core.streams.WriteStream<StreamServerResponse> response)Direct: Client -> Server -> ClientVertxDupliexServiceGrpc.DupliexServiceVertxImplBasewithCompression(String compression)Set whether the server will try to use a compressed response.
-
-
-
Method Detail
-
withCompression
public VertxDupliexServiceGrpc.DupliexServiceVertxImplBase withCompression(String compression)
Set whether the server will try to use a compressed response.- Parameters:
compression- the compression, e.ggzip
-
dupliexCall
public void dupliexCall(io.vertx.core.streams.ReadStream<StreamClientRequest> request, io.vertx.core.streams.WriteStream<StreamServerResponse> response)
Direct: Client -> Server -> Client
-
bindService
public final io.grpc.ServerServiceDefinition bindService()
- Specified by:
bindServicein interfaceio.grpc.BindableService
-
-