|
Raritan PX2/PX3 JSON-RPC API
|
Slave controller interface. More...
import"Controller.idl";
Classes | |
| struct | MetaData |
| Slave controller metadata. More... | |
Public Types | |
| enum | Status { OK, COMMUNICATION_UNSTABLE, COMMUNICATION_FAILURE, UNKNOWN, INCOMPATIBLE, FIRMWARE_UPDATE } |
| Communication status. More... | |
| enum | Type { OUTLET_CTRL, INLET_CTRL, METER_CTRL } |
| Slave controller type. More... | |
Public Member Functions | |
| Status | getCommunicationStatus () |
| Retrieve the current status of communication with controller. More... | |
| CtrlStatistic | getStatistics () |
| Retrieve statistics. More... | |
| MetaData | getMetaData () |
| Retrieve the slave controller metadata. More... | |
| int | reset () |
| Reset this slave controller. More... | |
Public Attributes | |
| constant int | ERR_NOT_SUPPORTED = 1 |
| Operation not supported. | |
| valueobject | StatusChangedEvent: idl::Event { Status oldStatus |
| Event: Controller communication status has changed. More... | |
| Status | newStatus |
| Status after change. | |
| valueobject | MetaDataChangedEvent: idl::Event { MetaData oldMetaData |
| Event: Controller metadata has changed. More... | |
| MetaData | newMetaData |
| Metadata after change. | |
Slave controller interface.
Communication status.
| Status pdumodel::Controller_4_0_1::getCommunicationStatus | ( | ) |
Retrieve the current status of communication with controller.
| MetaData pdumodel::Controller_4_0_1::getMetaData | ( | ) |
Retrieve the slave controller metadata.
| CtrlStatistic pdumodel::Controller_4_0_1::getStatistics | ( | ) |
Retrieve statistics.
| int pdumodel::Controller_4_0_1::reset | ( | ) |
Reset this slave controller.
Note: Depending on the hardware setup of the specific device, calling this method may also cause other slave controllers to be reset.
| valueobject pdumodel::Controller_4_0_1::MetaDataChangedEvent |
Event: Controller metadata has changed.
Metadata before change
| valueobject pdumodel::Controller_4_0_1::StatusChangedEvent |
Event: Controller communication status has changed.
Status before change
1.8.14