Interface AsyncDataExchangeHandler
- All Superinterfaces:
AsyncDataConsumer, AsyncDataProducer, ResourceHolder
- All Known Subinterfaces:
AsyncClientExchangeHandler, AsyncServerExchangeHandler
- All Known Implementing Classes:
AbstractClassicServerExchangeHandler, AbstractClientExchangeHandler, AbstractServerExchangeHandler, AsyncClientExchangeHandlerDelegate, BasicAsyncServerExpectationDecorator, BasicClientExchangeHandler, BasicServerExchangeHandler, ClassicToAsyncServerExchangeHandler, ImmediateResponseExchangeHandler
Abstract asynchronous data exchange handler that acts as a data consumer
and a data producer.
- Since:
- 5.0
-
Method Summary
Modifier and TypeMethodDescriptionvoidTriggered to signal a failure in data processing.default voidTriggered to signal the opposite endpoint requesed graceful termination of the outgoing data stream.Methods inherited from interface AsyncDataConsumer
consume, streamEnd, updateCapacityMethods inherited from interface AsyncDataProducer
available, produceMethods inherited from interface ResourceHolder
releaseResources
-
Method Details
-
failed
Triggered to signal a failure in data processing.- Parameters:
cause- the cause of the failure.
-
outputAborted
default void outputAborted()Triggered to signal the opposite endpoint requesed graceful termination of the outgoing data stream.- Since:
- 5.5
-