Raritan PX2/PX3 JSON-RPC API: pdu-json-rpc-api/idl/PortDispatcher.idl Source File

Raritan PX2/PX3 JSON-RPC API

PortDispatcher.idl
1 /* SPDX-License-Identifier: BSD-3-Clause */
2 /*
3 * Copyright 2011 Raritan Inc. All rights reserved.
4 */
5
6 #include <SerialPort.idl>
7
8 /** Serial Ports */
9 module serial {
10
11 /**
12 * Top-level interface of the serial port manager
13 */
14 interface PortDispatcher_1_2_2 {
15 /**
16 * @brief Get serial ports
17 *
18 * Returns a map of serial ports that are both
19 * - available on the device
20 * - monitored by the system
21 *
22 * The mapping is 'symbolic port name' -> 'port instance'.
23 *
24 * @return -- A map with available port instances
25 */
26 map<string, SerialPort_3_0_1> getPorts();
27 };
28 }
serial::PortDispatcher_1_2_2
Top-level interface of the serial port manager.
Definition: PortDispatcher.idl:14
serial
Serial Ports.
Definition: AnalogModem.idl:12