Class PvaGetPVStatus
java.lang.Object
org.epics.archiverappliance.mgmt.pva.actions.PvaGetPVStatus
- All Implemented Interfaces:
PvaAction
Get the status of a PV.
pv - The name(s) of the pv for which status is to be determined.
example request
epics:nt/NTTable:1.0
- string[] labels [pv]
- structure value
- string[] pv [test_0,test_1,test_10,test_100...]
example result:
epics:nt/NTTable:1.0
- string[] labels [pv,status,appliance,connectionState,lastEvent,samplingPeriod,isMonitored,connectionFirstEstablished,connectionLossRegainCount,connectionLastRestablished]
- structure value
- string[] pv [test_0,test_1,test_10,test_100...]
- string[] status [Being archived,Initial sampling,Being archived,Being archived,...]
- string[] connectionState [true,null,true,true,null,true,null,true,null,...]
- string[] lastEvent [Feb/01/2018 13:18:36 -05:00,null,Feb/01/2018 13:18:37 -05:00,Feb/01/2018 13:18:37 -05:00,...]
- string[] samplingPeriod [1.0,null,1.0,1.0,null,1.0,null,...]
- string[] isMonitored [true,null,true,true,null,true,...]
- string[] connectionFirstEstablished [Feb/01/2018 13:17:10 -05:00,null,...]
- string[] connectionLossRegainCount [0,null,0,0,null,0,null,...]
- string[] connectionLastRestablished [Never,null,Never,Never,null,...]
- Author:
- mshankar, shroffk
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetName()Name of the actionorg.epics.pva.data.PVAStructurerequest(org.epics.pva.data.PVAStructure args, ConfigService configService) Handles an RPC request to the archiver.
-
Field Details
-
NAME
- See Also:
-
-
Constructor Details
-
PvaGetPVStatus
public PvaGetPVStatus()
-
-
Method Details
-
getName
Description copied from interface:PvaActionName of the action -
request
public org.epics.pva.data.PVAStructure request(org.epics.pva.data.PVAStructure args, ConfigService configService) throws PvaActionException Description copied from interface:PvaActionHandles an RPC request to the archiver.- Specified by:
requestin interfacePvaAction- Parameters:
args- Input argumentsconfigService- Current config service- Throws:
PvaActionException- which is then passed to the serverPV to return the error to the user.
-