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.
EntryType
Data Push Entry Types.
@ SENSORLIST
Sensor values for a set of sensors.
@ AMSLOG
Asset Management log.
@ AMSLIST
Asset Management information for a set of AMS strips.
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.
map< int, EntrySettings > listEntries()
Retrieve a list of entries.
int getEntry(out EntrySettings entrySettings, in int entryId)
Retrieve an entry.
int modifyEntry(in int entryId, in EntrySettings entrySettings)
Modify an existing entry.
Event: A new push destination has been added.
EntrySettings settings
New entry settings.
Event: A configured push destination has been deleted.
int entryId
Deleted entry id.
Event: A configured push destination has been modified.
EntrySettings oldSettings
Settings before change.
EntrySettings newSettings
Settings after change.
int entryId
Modified entry id.
Data Push Entry Settings.
EntryType type
Type of data.
boolean useAuth
true to use HTTP basic authentication
string url
Destination host.
vector< string > items
Included items (e.g. list of sensors) depending on type.
string caCertChain
TLS CA certificate chain.
string username
Authentication user name.
boolean allowOffTimeRangeCerts
allow expired and not yet valid TLS certificates
string password
Password; write-only, empty to leave unchanged.
Event: The status of a configured push destination has changed.
EntryStatus newStatus
New status.
time lastAttemptTime
UNIX timestamp (UTC) of the last push attempt (0 = never)
boolean rescheduled
true if the entry is set to be pushed again immediately after completion
boolean busy
true if the entry is currently being pushed
time lastSuccessTime
UNIX timestamp (UTC) of last successful push (0 = never)
This UserEvent may be used as base valueobject for all concrete events that are triggered because of ...
Common base for all events.