6#ifndef __PDUMODEL_OUTLETGROUPMANAGER_IDL__
7#define __PDUMODEL_OUTLETGROUPMANAGER_IDL__
10#include <OutletGroup.idl>
16 constant
int ERR_INVALID_ARGUMENT = 1;
17 constant
int ERR_NO_SUCH_ID = 2;
18 constant
int ERR_MAX_GROUP_COUNT_REACHED = 3;
Outlet group manager interface.
int deleteGroup(in int id)
Delete an outlet group.
map< int, OutletGroup > getAllGroups()
Retrieve the list of outlet groups.
int createGroup(in string name, in vector< Outlet > members, out OutletGroup group)
Create a new outlet group.
int getGroup(in int id, out OutletGroup group)
Retrieve a specific outlet group.
Event: A new outlet group has been created.
int uniqueId
Random ID uniquely identifying the new group.
int id
The ID under which the outlet group manager references this group; may be reused after a group is del...
OutletGroup::Settings settings
The new group's settings.
OutletGroup group
The new group.
Event: An outlet group has been deleted.
int uniqueId
Random unique ID of the deleted group.
int id
The ID under which the outlet group manager referenced the group.
OutletGroup::Settings settings
Last group settings before deletion.