6 #include <UserEvent.idl>
26 constant
int ERR_NO_SUCH_ID = 1;
27 constant
int ERR_INVALID_PARAMS = 2;
28 constant
int ERR_MAX_ENTRIES_REACHED = 3;
Data push service configuration interface.
Definition: DataPushService.idl:12
map< int, EntrySettings > listEntries()
Retrieve a list of entries.
EntryType
Data Push Entry Types.
Definition: DataPushService.idl:17
@ SENSORLIST
Sensor values for a set of sensors.
Definition: DataPushService.idl:18
@ AMSLOG
Asset Management log.
Definition: DataPushService.idl:21
@ SENSORLOG
Sensor log.
Definition: DataPushService.idl:19
@ AMSLIST
Asset Management information for a set of AMS strips.
Definition: DataPushService.idl:20
void cancelDataPush(in int entryId)
Cancels an active data push.
int pushData(in int entryId)
Push data for one specified entry.
int addEntry(out int entryId, in EntrySettings entrySettings)
Add a new entry.
int deleteEntry(in int entryId)
Delete an entry.
int getEntryStatus(out EntryStatus entryStatus, in int entryId)
Retrieve an entry's status.
int getEntry(out EntrySettings entrySettings, in int entryId)
Retrieve an entry.
int modifyEntry(in int entryId, in EntrySettings entrySettings)
Modify an existing entry.
Basic IDL definitions.
Definition: Event.idl:10
Event: A new push destination has been added.
Definition: DataPushService.idl:58
int entryId
New entry id.
Definition: DataPushService.idl:59
EntrySettings settings
New entry settings.
Definition: DataPushService.idl:60
Event: A configured push destination has been deleted.
Definition: DataPushService.idl:75
int entryId
Deleted entry id.
Definition: DataPushService.idl:76
Event: A configured push destination has been modified.
Definition: DataPushService.idl:66
EntrySettings oldSettings
Settings before change.
Definition: DataPushService.idl:68
EntrySettings newSettings
Settings after change.
Definition: DataPushService.idl:69
int entryId
Modified entry id.
Definition: DataPushService.idl:67
Data Push Entry Settings.
Definition: DataPushService.idl:33
EntryType type
Type of data.
Definition: DataPushService.idl:40
boolean useAuth
true to use HTTP basic authentication
Definition: DataPushService.idl:37
string url
Destination host.
Definition: DataPushService.idl:34
vector< string > items
Included items (e.g. list of sensors) depending on type.
Definition: DataPushService.idl:41
string caCertChain
TLS CA certificate chain.
Definition: DataPushService.idl:36
string username
Authentication user name.
Definition: DataPushService.idl:38
boolean allowOffTimeRangeCerts
allow expired and not yet valid TLS certificates
Definition: DataPushService.idl:35
string password
Password; write-only, empty to leave unchanged.
Definition: DataPushService.idl:39
Event: The status of a configured push destination has changed.
Definition: DataPushService.idl:82
EntryStatus newStatus
New status.
Definition: DataPushService.idl:84
int entryId
Entry id.
Definition: DataPushService.idl:83
Data Push Entry Status.
Definition: DataPushService.idl:47
time lastAttemptTime
UNIX timestamp (UTC) of the last push attempt (0 = never)
Definition: DataPushService.idl:51
boolean rescheduled
true if the entry is set to be pushed again immediately after completion
Definition: DataPushService.idl:49
boolean busy
true if the entry is currently being pushed
Definition: DataPushService.idl:48
time lastSuccessTime
UNIX timestamp (UTC) of last successful push (0 = never)
Definition: DataPushService.idl:52
This UserEvent may be used as base valueobject for all concrete events that are triggered because of ...
Definition: UserEvent.idl:19
Common base for all events.
Definition: Event.idl:13