Interface MimeResponse
- All Superinterfaces:
EventConsumer
- All Known Implementing Classes:
FlxXMLResponse,JPlotResponse,JSONResponse,MatlabResponse,PBRAWResponse,PvaMimeResponse,QWResponse,SinglePVCSVResponse,SVGResponse,TextResponse
A set of events for classes that convert event streams to mime specific responses.
setOutputStream signals the start of the whole package
processingPV signals the start of a new PV's data in the package
swicthingToStream signals that we have a new event stream in the current PV; so stream specific headers could be added here.
close signifies the end of the whole package.
Note we get both one processingPV and potentially many swicthingToStream for each PV in the package.
- Author:
- mshankar
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionvoidclose()voidprocessingPV(BasicContext retrievalContext, String pv, Instant start, Instant end, EventStreamDesc streamDesc) Called when we swich to a new PV.voidvoidswicthingToStream(EventStream strm) Methods inherited from interface org.epics.archiverappliance.retrieval.EventConsumer
consumeEvent
-
Field Details
-
CONTENT_TYPE
- See Also:
-
PROXIED_HEADERS
Headers that should be proxied across in a clustered environment should be added to this list.
-
-
Method Details
-
setOutputStream
-
processingPV
void processingPV(BasicContext retrievalContext, String pv, Instant start, Instant end, EventStreamDesc streamDesc) Called when we swich to a new PV.- Parameters:
pv- The name of PVstart- Instantend- InstantstreamDesc- Could be null if we have no data in first store we hit.
-
swicthingToStream
-
close
void close()
-