Legrand / Raritan Xerus™ JSON-RPC API for Remote Access Devices like KX4-101, KX3G2
Loading...
Searching...
No Matches
KvmChannel.idl
1#ifndef __RADM_KVM_CHANNEL_IDL__
2#define __RADM_KVM_CHANNEL_IDL__
3
4#include <UserEvent.idl>
5#include <VideoResolution.idl>
6#include <KvmPort.idl>
7
8module radm {
9
10 interface KvmChannel {
11
12 /** Channel meta data */
13 structure Metadata {
14 string label; ///< Channel label
15 int channelId; ///< Index of channel in device's channel list
16 int maxRemoteClients; ///< Maximum supported remote client count
17 int maxLocalClients; ///< Maximum supported local client count
18 int maxUsbChannels; ///< Maximum support USB channel count
19 };
20
21 /**
22 * Get channel meta data
23 *
24 * @return Channel meta data
25 */
27
28 /**
29 * Get KVM port currently attached to this channel
30 *
31 * If the device has more KVM ports than channels, the returned port may be empty,
32 * as such devices detach the port from the channel when it's not in use.
33 *
34 * @return Attached KVM port
35 */
37
38 /**
39 * Get local client connection status
40 *
41 * @return true if the device local port is currently connected to this channel, false otherwise
42 */
43 boolean hasLocalClient();
44
45 /**
46 * Get number of connected remote clients
47 *
48 * @return Total number of remote clients connected to this channel
49 */
51
52 /**
53 * Get video resolution and refresh rate
54 *
55 * @return Active video resolution and refresh rate of this channel
56 */
58
59 /** Event: Attached KVM port changed */
61 KvmPort newPort;
62 };
63
64 /** Event: Channel connection status changed */
65 valueobject KvmSwitchEvent extends event.UserEvent {
66 KvmPort port; ///< KVM port for operation
67 boolean connected; ///< whether port was switched on or off
68 int connectedRemoteClients; ///< Total number of connected remote clients
69 boolean hasLocalClient; ///< Whether the device local port is currently connected to this channel
70 };
71
72 /** Event: Video resolution on channel changed */
74 KvmPort port; ///< KVM port for operation
75 VideoResolution newResolution; ///< New video resolution
76 };
77 };
78
79}
80
81#endif //__RADM_KVM_CHANNEL_IDL__
int getConnectedRemoteClientCount()
Get number of connected remote clients.
boolean hasLocalClient()
Get local client connection status.
KvmPort getAttachedKvmPort()
Get KVM port currently attached to this channel.
Metadata getMetadata()
Get channel meta data.
VideoResolution getVideoResolution()
Get video resolution and refresh rate.
Basic IDL definitions.
Definition Event.idl:10
Radm Model.
Definition AccessPort.idl:8
Common base for all events.
Definition Event.idl:13
Event: Attached KVM port changed.
Event: Channel connection status changed.
boolean hasLocalClient
Whether the device local port is currently connected to this channel.
KvmPort port
KVM port for operation.
boolean connected
whether port was switched on or off
int connectedRemoteClients
Total number of connected remote clients.
Channel meta data.
int maxRemoteClients
Maximum supported remote client count.
int maxUsbChannels
Maximum support USB channel count.
int maxLocalClients
Maximum supported local client count.
string label
Channel label.
int channelId
Index of channel in device's channel list.
Event: Video resolution on channel changed.
KvmPort port
KVM port for operation.
VideoResolution newResolution
New video resolution.