1#ifndef __RADM_ACCESS_PORT_IDL__
2#define __RADM_ACCESS_PORT_IDL__
5#include <OutletPort.idl>
6#include <UserEvent.idl>
11 constant
int ERR_PDU_NOT_ACTIVE = 10;
Status getStatus()
Get port status.
@ OCCUPIED
The port is used, but accepts additional connections.
@ INACCESSIBLE
The port is not allowed to be connected.
@ UNAVAILABLE
The port is not ready for being connected.
@ AVAILABLE
The port is idle.
@ BUSY
The port is used and reached the maximum connection limit.
int setAssociatedOutletPorts(in vector< OutletPort > associations)
Set associated outlet ports.
@ ACTIVE
The port is active and can be connected to.
@ INACTIVE
The port is inactive and can not be connected to.
vector< OutletPort > getAssociatedOutletPorts()
Get associated outlet ports.
int doPowerOperation(in PowerOperation op)
Execute power operation on associated outlet ports.
Common base for all events.
Event: The outlet association has changed.
vector< OutletPort > oldAssociatedOutlets
Associated outlets before change.
vector< OutletPort > newAssociatedOutlets
Associated outlets after change.
Event: The port status have changed.
Status newStatus
Status after change.
Status oldStatus
Status before change.
Availability availability
Port availability.