Interface RealTimeSnapshotReceiver

All Superinterfaces:
StreamingResponseReceiver
All Known Subinterfaces:
RealTimeSnapshotSubscribedReceiver

public interface RealTimeSnapshotReceiver extends StreamingResponseReceiver
Streaming receiver for real-time snapshot response data The current request handling can be terminated in any of these methods by throwing an exception. Errors originating from the subscriber thread will be sent to StreamingResponseReceiver.error(StreamingGetException)
  • Method Details

    • beginSnapshot

      void beginSnapshot()
      Invoked when a new snapshot is received. This will be the first method invoked when the snapshot is received.
    • header

      void header(RealTimeSnapshotHeader header)
      Invoked when the header has been processed. Will be invoked before processing resources
      Parameters:
      header - parsed header
    • limit

      void limit(RealTimeLimit limit)
      Invoked with each resource limit set as it is parsed
      Parameters:
      limit - the parsed limit set
    • endSnapshot

      void endSnapshot()
      Invoked when the snapshot has reached its end.