1 2 3 4 5 6 7 8 9 10 11
12
13 /*!
14 * ======== Main.xdc ========
15 * The xdc.rov.monserver delivers ROV views to clients through the standard
16 * IO. The clients access monserver through an ROV module embedded in the
17 * TI Cloud Agent, or through a WebSocket server.
18 *
19 * Commands:
20 *
21 * Start the server -
22 * xs xdc.rov.monserver -p <port_number>
23 *
24 * Load an executable
25 * exec:<full path>
26 *
27 * Get a list of Modules and Tabs
28 * list
29 *
30 * Get a Module's View
31 * view:Task,Basic
32 *
33 * Unload the executable
34 * clear
35 *
36 */
37 metaonly module Main inherits xdc.tools.ICmd {
38
39 override config String usage[] = [
40 ' ',
41 'Usage',
42 '[-p]',
43 '[--help]',
44 ' ',
45 ];
46
47 instance:
48
49 /*!
50 * ======== port ========
51 *
52 * TCP port for the server
53 *
54 * Only values from 1025 to 65535 are accepted.
55 */
56 @CommandOption('p')
57 config UInt port = 8888;
58
59 }