/** * <pre> * A sequence of requests with each request served by the server immediately. * As one request could lead to multiple responses, this interface * demonstrates the idea of full duplexing. * </pre> */ public void fullDuplexCall( io.vertx.grpc.GrpcBidiExchange<io.vertx.example.grpc.Messages.StreamingOutputCallRequest, io.vertx.example.grpc.Messages.StreamingOutputCallResponse> exchange) { exchange.setReadObserver(asyncUnimplementedStreamingCall(getFullDuplexCallMethod(), exchange.writeObserver())); }
/** * <pre> * A Bidirectional streaming RPC. * Accepts a stream of RouteNotes sent while a route is being traversed, * while receiving other RouteNotes (e.g. from other users). * </pre> */ public void routeChat( io.vertx.grpc.GrpcBidiExchange<io.grpc.examples.routeguide.RouteNote, io.grpc.examples.routeguide.RouteNote> exchange) { exchange.setReadObserver(asyncUnimplementedStreamingCall(getRouteChatMethod(), exchange.writeObserver())); }
/** * <pre> * Full: Client -> Server -> Client * </pre> */ public void dupliexCall( io.vertx.grpc.GrpcBidiExchange<io.vertx.tp.ipc.eon.StreamClientRequest, io.vertx.tp.ipc.eon.StreamServerResponse> exchange) { exchange.setReadObserver(asyncUnimplementedStreamingCall(METHOD_DUPLIEX_CALL, exchange.writeObserver())); }
/** * <pre> * Server -> Client * </pre> */ public void outputCall( io.vertx.grpc.GrpcBidiExchange<io.vertx.tp.ipc.eon.StreamServerRequest, io.vertx.tp.ipc.eon.StreamServerResponse> exchange) { exchange.setReadObserver(asyncUnimplementedStreamingCall(METHOD_OUTPUT_CALL, exchange.writeObserver())); }
/** * <pre> * Client -> Server * </pre> */ public void inputCall( io.vertx.grpc.GrpcBidiExchange<io.vertx.tp.ipc.eon.StreamClientRequest, io.vertx.tp.ipc.eon.StreamClientResponse> exchange) { exchange.setReadObserver(asyncUnimplementedStreamingCall(METHOD_INPUT_CALL, exchange.writeObserver())); }
/** * <pre> * A sequence of requests followed by a sequence of responses. * The server buffers all the client requests and then serves them in order. A * stream of responses are returned to the client when the server starts with * first request. * </pre> */ public void halfDuplexCall( io.vertx.grpc.GrpcBidiExchange<io.grpc.testing.integration.Messages.StreamingOutputCallRequest, io.grpc.testing.integration.Messages.StreamingOutputCallResponse> exchange) { exchange.setReadObserver(asyncUnimplementedStreamingCall(getHalfDuplexCallMethod(), exchange.writeObserver())); }
/** */ public void pipe( io.vertx.grpc.GrpcBidiExchange<io.grpc.examples.streaming.Item, io.grpc.examples.streaming.Item> exchange) { exchange.setReadObserver(asyncUnimplementedStreamingCall(getPipeMethod(), exchange.writeObserver())); }
/** * <pre> * A sequence of requests with each request served by the server immediately. * As one request could lead to multiple responses, this interface * demonstrates the idea of full duplexing. * </pre> */ public void fullDuplexCall( io.vertx.grpc.GrpcBidiExchange<io.grpc.testing.integration.Messages.StreamingOutputCallRequest, io.grpc.testing.integration.Messages.StreamingOutputCallResponse> exchange) { exchange.setReadObserver(asyncUnimplementedStreamingCall(getFullDuplexCallMethod(), exchange.writeObserver())); }