Legrand / Raritan / Server Technology Xerus™ JSON-RPC API
Loading...
Searching...
No Matches
RawConfiguration.idl
1/* SPDX-License-Identifier: BSD-3-Clause */
2/*
3 * Copyright 2018 Raritan Inc. All rights reserved.
4 */
5
6#include <UserEvent.idl>
7
8/** Raw Configuration */
9module rawcfg {
10
11 /** Raw Configuration Interface */
12 interface RawConfiguration {
13
14 /** Status of the last raw configuration update operation */
15 enumeration Status {
16 UNKNOWN, ///< No raw configuration was done yet
17 UPLOAD_FAILED, ///< Uploading a raw configuration failed
18 UPDATE_PENDING, ///< Update is pending
19 UPDATE_OK, ///< Updating raw configuration successful
20 UPDATE_FAILED ///< Updating raw configuration failed
21 };
22
23 /**
24 * Retrieve the status of the last raw configuration update
25 * operation.
26 *
27 * @param status Result: Raw configuration update status
28 * @param timeStamp Result: Time of last update operation (UNIX timestamp, UTC)
29 */
30 void getStatus(out Status status, out time timeStamp);
31
32 /** Event: Raw configuration downloaded */
33 valueobject RawConfigDownloadedEvent extends event.UserEvent {};
34 /** Event: Raw configuration updated */
35 valueobject RawConfigUpdatedEvent extends event.UserEvent {};
36 };
37
38}
Raw Configuration Interface.
Status
Status of the last raw configuration update operation.
@ UPLOAD_FAILED
Uploading a raw configuration failed.
@ UPDATE_OK
Updating raw configuration successful.
@ UNKNOWN
No raw configuration was done yet.
@ UPDATE_PENDING
Update is pending.
void getStatus(out Status status, out time timeStamp)
Retrieve the status of the last raw configuration update operation.
Raw Configuration.