|
| enum | PowerState { UNKNOWN
, OFF
, ON
} |
| |
Definition at line 11 of file OutletPort.idl.
◆ PowerState
| enum radm::OutletPort::PowerState |
◆ doPowerOperation()
| int radm::OutletPort::doPowerOperation |
( |
in PowerOperation | op | ) |
|
Change the power state of this port.
- Parameters
-
- Returns
- 0 on success
-
10 if PDU is not active
-
101..106 if SNMP communication failed (see constants in
PowerDevice)
◆ getAssociatedAccessPort()
| BasePort radm::OutletPort::getAssociatedAccessPort |
( |
| ) |
|
Get port this port is associated with.
Note: In practice a AccessPort instance will be returned if an association is present.
- Returns
- associated port
◆ getParent()
| Device radm::OutletPort::getParent |
( |
| ) |
|
Get parent device of this port.
Note: In practice a PowerDevice instance will be returned.
- Returns
- Parent device
◆ getState()
| PowerState radm::OutletPort::getState |
( |
| ) |
|
Get current power state of this port.
- Returns
- Power state
◆ ERR_PDU_NOT_ACTIVE
| constant int radm::OutletPort::ERR_PDU_NOT_ACTIVE = 10 |
The documentation for this interface was generated from the following file: