public interface StreamingSourceHandler extends SourceHandler
A streaming source handler streams updates to Diffusion using the
Publisher
provided to it when instantiated.
A streaming source handler must not publish updates on its Publisher
until the start
method has been called.
It must also stop publishing if the pause
method
is called and not resume until the resume
method is called.
An object that implements this interface must be returned when the
GatewayApplication.addStreamingSource
method is called. A different object
must be returned for each different service.
SourceHandler.SourceServiceProperties
ServiceHandler.PauseReason, ServiceHandler.ResumeReason
getSourceServiceProperties
pause, resume, start, stop
Copyright © 2024 DiffusionData Limited. All rights reserved.