Class PvaMimeResponse
java.lang.Object
org.epics.archiverappliance.retrieval.pva.PvaMimeResponse
- All Implemented Interfaces:
EventConsumer,MimeResponse
The response is an array of PV elements, each PV has a meta and data section. The data section has timestamp in epoch
seconds and the value
- Author:
- mshankar
-
Field Summary
Fields inherited from interface org.epics.archiverappliance.retrieval.mimeresponses.MimeResponse
CONTENT_TYPE, PROXIED_HEADERS -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidclose()voidvoidprocessingPV(BasicContext retrievalContext, String pv, Instant start, Instant end, EventStreamDesc streamDesc) Called when we swich to a new PV.voidvoidsetOutputStruct(org.epics.pva.data.PVAStructure resultStruct) voidswicthingToStream(EventStream strm)
-
Constructor Details
-
PvaMimeResponse
public PvaMimeResponse()
-
-
Method Details
-
consumeEvent
- Specified by:
consumeEventin interfaceEventConsumer- Throws:
Exception
-
setOutputStream
- Specified by:
setOutputStreamin interfaceMimeResponse
-
close
public void close()- Specified by:
closein interfaceMimeResponse
-
processingPV
public void processingPV(BasicContext retrievalContext, String pv, Instant start, Instant end, EventStreamDesc streamDesc) Description copied from interface:MimeResponseCalled when we swich to a new PV.- Specified by:
processingPVin interfaceMimeResponse- Parameters:
pv- The name of PVstart- Instantend- InstantstreamDesc- Could be null if we have no data in first store we hit.
-
swicthingToStream
- Specified by:
swicthingToStreamin interfaceMimeResponse
-
setOutputStruct
public void setOutputStruct(org.epics.pva.data.PVAStructure resultStruct)
-