Raritan PX2/PX3 JSON-RPC API
|
6 #ifndef __PORTSMODEL_PORT_IDL__
7 #define __PORTSMODEL_PORT_IDL__
10 #include <PortFuse.idl>
21 constant
int NO_ERROR = 0;
22 constant
int ERR_INVALID_PARAM = 1;
23 constant
int ERR_DEVICE_BUSY = 2;
48 valueobject PropertiesChangedEvent extends
idl.Event {
54 valueobject DeviceChangedEvent extends
idl.Event {
string detectedDeviceType
detected device type or empty if nothing connected
Definition: Port.idl:43
string name
user defineable name - NOT USED RIGHT NOW!
Definition: Port.idl:40
void setName(in string name)
NOT USED RIGHT NOW!
Object newDevice
Connected device after change.
Definition: Port.idl:56
string detectedDeviceName
detected device name or empty if nothing connected
Definition: Port.idl:44
Port detection mode.
Definition: Port.idl:33
DetectionMode mode
detection mode
Definition: Port.idl:42
string label
label on device
Definition: Port.idl:41
@ AUTO
auto detection of connected devices
Definition: Port.idl:27
@ PINNED
port is pinned to a specific device type
Definition: Port.idl:28
Port interface.
Definition: Port.idl:18
Object getDeviceConfig(in string deviceType)
Get device type specific configuration interface.
Properties newProperties
Properties after change.
Definition: Port.idl:50
Basic IDL definitions.
Definition: Event.idl:10
DetectionType
Port detection type.
Definition: Port.idl:26
Ports.
Definition: Port.idl:15
DetectionType type
detection type: auto or pinned
Definition: Port.idl:34
Interface describing a controllable fuse for a device port.
Definition: PortFuse.idl:17
int setDetectionMode(in DetectionMode mode)
Set the detection mode for the port.
Port properties.
Definition: Port.idl:39
string pinnedDeviceType
contains specific device type in pinned mode, not used for auto
Definition: Port.idl:35
PortFuse getFuse()
Get the fuse for this port.
Properties getProperties()
Get the current properties of the port.
Object getDevice()
Get the connected device of the port.
vector< string > getDetectableDevices()
Get all detectable devices of this port.