|
Legrand / Raritan Xerus™ JSON-RPC API for Remote Access Devices like KX4-101, KX3G2
|
Classes | |
| struct | AssociatedOutletsChangedEvent |
| Event: The outlet association has changed. More... | |
| struct | Status |
| struct | StatusChangedEvent |
| Event: The port status have changed. More... | |
Public Types | |
| enum | Availability { AVAILABLE , OCCUPIED , BUSY , UNAVAILABLE , INACCESSIBLE } |
| enum | State { INACTIVE , ACTIVE } |
Public Member Functions | |
| Status | getStatus () |
| Get port status. | |
| vector< OutletPort > | getAssociatedOutletPorts () |
| Get associated outlet ports. | |
| int | setAssociatedOutletPorts (in vector< OutletPort > associations) |
| Set associated outlet ports. | |
| int | doPowerOperation (in PowerOperation op) |
| Execute power operation on associated outlet ports. | |
Public Member Functions inherited from radm::BasePort | |
| Metadata | getMetadata () |
| Get port meta data. | |
| string | getName () |
| Get port name. | |
| int | setName (in string name) |
| Set port name. | |
Public Attributes | |
| constant int | ERR_PDU_NOT_ACTIVE = 10 |
Public Attributes inherited from radm::BasePort | |
| constant int | ERR_INVALID_ARGUMENT = 1 |
Definition at line 10 of file AccessPort.idl.
Definition at line 13 of file AccessPort.idl.
| Enumerator | |
|---|---|
| INACTIVE | The port is inactive and can not be connected to. |
| ACTIVE | The port is active and can be connected to. |
Definition at line 21 of file AccessPort.idl.
| int radm::AccessPort::doPowerOperation | ( | in PowerOperation | op | ) |
Execute power operation on associated outlet ports.
| op | Operation to execute |
| vector< OutletPort > radm::AccessPort::getAssociatedOutletPorts | ( | ) |
Get associated outlet ports.
| Status radm::AccessPort::getStatus | ( | ) |
Get port status.
| int radm::AccessPort::setAssociatedOutletPorts | ( | in vector< OutletPort > | associations | ) |
Set associated outlet ports.
| associations | New list of associated outlets (must be unique, and at most 4 outlets are supported) |
| constant int radm::AccessPort::ERR_PDU_NOT_ACTIVE = 10 |
Definition at line 11 of file AccessPort.idl.