Raritan / Server Technology Xerus™ PDU JSON-RPC API
|
Interface describing a controllable fuse for a device port. More...
import"PortFuse.idl";
Public Types | |
enum | Status { UNKNOWN , TRIPPED , GOOD } |
Status type for port fuse. More... | |
Public Member Functions | |
Status | getStatus () |
Get the current status of the fuse. More... | |
void | reset () |
Attempt a fuse reset. More... | |
int | getTripCount () |
Get the trip count of the fuse (since last reboot) More... | |
Public Attributes | |
valueobject | StatusChangedEvent: idl::Event { Status oldStatus |
Event: The state of the fuse has changed. More... | |
Status | newStatus |
Current (new) fuse status. | |
Interface describing a controllable fuse for a device port.
Status portsmodel::PortFuse::getStatus | ( | ) |
Get the current status of the fuse.
int portsmodel::PortFuse::getTripCount | ( | ) |
Get the trip count of the fuse (since last reboot)
void portsmodel::PortFuse::reset | ( | ) |
Attempt a fuse reset.
Tries to recover the fuse from tripped state. When calling this after correcting the previous short circuit condition, the fuse should transition into 'good' state again. If the short circuit condition is still present, this operation is a no-op.
valueobject portsmodel::PortFuse::StatusChangedEvent |
Event: The state of the fuse has changed.
Previous fuse status