Class RemotableEventStreamDesc
- java.lang.Object
-
- org.epics.archiverappliance.EventStreamDesc
-
- org.epics.archiverappliance.retrieval.RemotableEventStreamDesc
-
public class RemotableEventStreamDesc extends EventStreamDesc
Information about the whole stream that is often used in generating headers etc...- Author:
- mshankar
-
-
Field Summary
-
Fields inherited from class org.epics.archiverappliance.EventStreamDesc
archDBRType, pvName, source
-
-
Constructor Summary
Constructors Constructor Description RemotableEventStreamDesc(String pvName, EPICSEvent.PayloadInfo info)
RemotableEventStreamDesc(ArchDBRTypes archDBRType, String pvName, short year)
RemotableEventStreamDesc(RemotableEventStreamDesc other)
-
Method Summary
Modifier and Type Method Description void
addHeader(String name, String value)
void
addHeaders(Map<String,String> vals)
ArchDBRTypes
getArchDBRType()
int
getElementCount()
HashMap<String,String>
getHeaders()
String
getPvName()
short
getYear()
void
mergeFrom(PVTypeInfo info, HashMap<String,String> engineMetadata)
void
mergeInto(EPICSEvent.PayloadInfo.Builder builder)
void
setArchDBRType(ArchDBRTypes archDBRType)
void
setElementCount(int elementCount)
void
setPvName(String pvName)
void
setYear(short year)
-
Methods inherited from class org.epics.archiverappliance.EventStreamDesc
getSource, setSource
-
-
-
-
Constructor Detail
-
RemotableEventStreamDesc
public RemotableEventStreamDesc(ArchDBRTypes archDBRType, String pvName, short year)
-
RemotableEventStreamDesc
public RemotableEventStreamDesc(String pvName, EPICSEvent.PayloadInfo info)
-
RemotableEventStreamDesc
public RemotableEventStreamDesc(RemotableEventStreamDesc other)
-
-
Method Detail
-
mergeFrom
public void mergeFrom(PVTypeInfo info, HashMap<String,String> engineMetadata) throws IOException
- Throws:
IOException
-
mergeInto
public void mergeInto(EPICSEvent.PayloadInfo.Builder builder)
-
getArchDBRType
public ArchDBRTypes getArchDBRType()
- Overrides:
getArchDBRType
in classEventStreamDesc
-
setArchDBRType
public void setArchDBRType(ArchDBRTypes archDBRType)
- Overrides:
setArchDBRType
in classEventStreamDesc
-
getPvName
public String getPvName()
- Overrides:
getPvName
in classEventStreamDesc
-
setPvName
public void setPvName(String pvName)
- Overrides:
setPvName
in classEventStreamDesc
-
getYear
public short getYear()
-
setYear
public void setYear(short year)
-
getElementCount
public int getElementCount()
-
setElementCount
public void setElementCount(int elementCount)
-
-