Raritan / Server Technology Xerus™ PDU JSON-RPC API: pdumodel::OutletGroup Interface Reference

Raritan / Server Technology Xerus™ PDU JSON-RPC API

Classes | Public Member Functions | Public Attributes | List of all members
pdumodel::OutletGroup Interface Reference

Outlet group interface. More...

`import"OutletGroup.idl";`

## Classes
struct | MetaData
| Outlet group metadata. More...
struct | PowerControlEvent
| Event: Group switch operation has been invoked. More...
struct | Sensors
| Outlet group sensors. More...
struct | SensorsChangedEvent
| Event: Group sensors have changed. More...
struct | Settings
| Outlet group settings. More...
struct | SettingsChangedEvent
| Event: Group settings have been changed. More...

## Public Member Functions
Sensors | getSensors ()
| Retrieve the outlet group sensors. More...
MetaData | getMetaData ()
| Retrieve the outlet group metadata. More...
Settings | getSettings ()
| Retrieve the outlet group settings. More...
int | setSettings (in Settings settings)
| Change the outlet group settings. More...
int | setAllOutletPowerStates (in Outlet::PowerState pstate)
| Switch all member outlets. More...
int | cycleAllOutletPowerStates ()
| Power-cycle all member outlets. More...

## Public Attributes
constant int | ERR_INVALID_ARGUMENT = 1

## Detailed Description

Outlet group interface.

## Member Function Documentation

## ◆ cycleAllOutletPowerStates()

int pdumodel::OutletGroup::cycleAllOutletPowerStates | ( |  | ) |

Power-cycle all member outlets.

Returns
  0 if OK

## ◆ getMetaData()

MetaData pdumodel::OutletGroup::getMetaData | ( |  | ) |

Retrieve the outlet group metadata.

Returns
  outlet group metadata

## ◆ getSensors()

Sensors pdumodel::OutletGroup::getSensors | ( |  | ) |

Retrieve the outlet group sensors.

Returns
  outlet group sensors

## ◆ getSettings()

Settings pdumodel::OutletGroup::getSettings | ( |  | ) |

Retrieve the outlet group settings.

Returns
  outlet group settings

## ◆ setAllOutletPowerStates()

int pdumodel::OutletGroup::setAllOutletPowerStates | ( | in Outlet::PowerState | pstate | ) |

Switch all member outlets.

Parameters

  pstate | New power state for all outlets

Returns
  0 if OK

## ◆ setSettings()

int pdumodel::OutletGroup::setSettings | ( | in Settings | settings | ) |

Change the outlet group settings.

Parameters

  settings | New outlet group settings

Returns
  0 if OK
  1 if any parameters are invalid

The documentation for this interface was generated from the following file:

- OutletGroup.idl