Package io.deephaven.server.arrow
Class BarrageSnapshotRequestHandler.BarrageSnapshotRequestHandlerFactory
java.lang.Object
io.deephaven.server.arrow.BarrageSnapshotRequestHandler.BarrageSnapshotRequestHandlerFactory
- All Implemented Interfaces:
ExchangeRequestHandlerFactory
- Enclosing class:
- BarrageSnapshotRequestHandler
@AutoService(ExchangeRequestHandlerFactory.class)
public static class BarrageSnapshotRequestHandler.BarrageSnapshotRequestHandlerFactory
extends Object
implements ExchangeRequestHandlerFactory
Factory to handle Barrage DoExchange snapshot requests.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreate
(ArrowFlightUtil.DoExchangeMarshaller marshaller, io.grpc.stub.StreamObserver<BarrageMessageWriter.MessageView> listener) Creates a handler for a DoExchange message.byte
type()
The type of message that this factory produces a handler for.
-
Constructor Details
-
BarrageSnapshotRequestHandlerFactory
public BarrageSnapshotRequestHandlerFactory()
-
-
Method Details
-
type
public byte type()Description copied from interface:ExchangeRequestHandlerFactory
The type of message that this factory produces a handler for.Message types are defined in
BarrageMessageType
.- Specified by:
type
in interfaceExchangeRequestHandlerFactory
- Returns:
- the type of message handled by this factory
-
create
public ArrowFlightUtil.DoExchangeMarshaller.Handler create(ArrowFlightUtil.DoExchangeMarshaller marshaller, io.grpc.stub.StreamObserver<BarrageMessageWriter.MessageView> listener) Description copied from interface:ExchangeRequestHandlerFactory
Creates a handler for a DoExchange message.- Specified by:
create
in interfaceExchangeRequestHandlerFactory
- Parameters:
marshaller
- the DoExchangeMarshaller handling the messagelistener
- the listener for results of this message- Returns:
- the Handler for the message
-