|
Raritan PX2/PX3 JSON-RPC API
|
Data push service configuration interface. More...
import"DataPushService.idl";
Classes | |
| struct | EntrySettings |
| Data Push Entry Settings. More... | |
| struct | EntryStatus |
| Data Push Entry Status. More... | |
Public Types | |
| enum | EntryType { SENSORLIST, SENSORLOG, AMSLIST, AMSLOG, AUDITLOG } |
| Data Push Entry Types. More... | |
Public Member Functions | |
| int | addEntry (out int entryId, in EntrySettings entrySettings) |
| Add a new entry. More... | |
| int | modifyEntry (in int entryId, in EntrySettings entrySettings) |
| Modify an existing entry. More... | |
| int | deleteEntry (in int entryId) |
| Delete an entry. More... | |
| int | getEntry (out EntrySettings entrySettings, in int entryId) |
| Retrieve an entry. More... | |
| map< int, EntrySettings > | listEntries () |
| Retrieve a list of entries. More... | |
| int | pushData (in int entryId) |
| Push data for one specified entry. More... | |
| int | getEntryStatus (out EntryStatus entryStatus, in int entryId) |
| Retrieve an entry's status. More... | |
Public Attributes | |
| constant int | ERR_NO_SUCH_ID = 1 |
| Error codes. More... | |
| constant int | ERR_INVALID_PARAMS = 2 |
| Invalid parameters. | |
| constant int | ERR_MAX_ENTRIES_REACHED = 3 |
| Maximum number of entries reached. | |
| valueobject | EntryAddedEvent: UserEvent { int entryId |
| Event: A new push destination has been added. More... | |
| EntrySettings | settings |
| New entry settings. | |
| valueobject | EntryModifiedEvent: UserEvent { int entryId |
| Event: A configured push destination has been modified. More... | |
| EntrySettings | oldSettings |
| Settings before change. | |
| EntrySettings | newSettings |
| Settings after change. | |
| valueobject | EntryDeletedEvent: UserEvent { int entryId |
| Event: A configured push destination has been deleted. More... | |
| valueobject | EntryStatusChangedEvent: idl::Event { int entryId |
| Event: The status of a configured push destination has changed. More... | |
| EntryStatus | newStatus |
| New status. | |
Data push service configuration interface.
| int event::DataPushService_1_0_1::addEntry | ( | out int | entryId, |
| in EntrySettings | entrySettings | ||
| ) |
Add a new entry.
| entryId | Result: New entry id, automatically assigned |
| entrySettings | New Model Push Entry settings |
| int event::DataPushService_1_0_1::deleteEntry | ( | in int | entryId | ) |
Delete an entry.
| entryid | Entry id |
| int event::DataPushService_1_0_1::getEntry | ( | out EntrySettings | entrySettings, |
| in int | entryId | ||
| ) |
Retrieve an entry.
| entrySettings | Result: Model Push Entry settings |
| entryId | Entry id |
| int event::DataPushService_1_0_1::getEntryStatus | ( | out EntryStatus | entryStatus, |
| in int | entryId | ||
| ) |
Retrieve an entry's status.
| entryStatus | Result: Entry status |
| entryId | Entry id |
| map<int, EntrySettings> event::DataPushService_1_0_1::listEntries | ( | ) |
Retrieve a list of entries.
| int event::DataPushService_1_0_1::modifyEntry | ( | in int | entryId, |
| in EntrySettings | entrySettings | ||
| ) |
Modify an existing entry.
| entryId | Entry id |
| entrySettings | New Model Push Entry settings |
| int event::DataPushService_1_0_1::pushData | ( | in int | entryId | ) |
Push data for one specified entry.
| entryId | Entry id |
| valueobject event::DataPushService_1_0_1::EntryAddedEvent |
Event: A new push destination has been added.
New entry id
| valueobject event::DataPushService_1_0_1::EntryDeletedEvent |
Event: A configured push destination has been deleted.
Deleted entry id
| valueobject event::DataPushService_1_0_1::EntryModifiedEvent |
Event: A configured push destination has been modified.
Modified entry id
| valueobject event::DataPushService_1_0_1::EntryStatusChangedEvent |
Event: The status of a configured push destination has changed.
Entry id
| constant int event::DataPushService_1_0_1::ERR_NO_SUCH_ID = 1 |
Error codes.
No such ID
1.8.14