libiec61850  1.2.0
Functions
Log service related functions, data types, and definitions

Functions

LinkedList IedConnection_queryLogByTime (IedConnection self, IedClientError *error, const char *logReference, uint64_t startTime, uint64_t endTime, bool *moreFollows)
 Implementation of the QueryLogByTime ACSI service. More...
 
LinkedList IedConnection_queryLogAfter (IedConnection self, IedClientError *error, const char *logReference, MmsValue *entryID, uint64_t timeStamp, bool *moreFollows)
 Implementation of the QueryLogAfter ACSI service. More...
 

Detailed Description

Function Documentation

LinkedList IedConnection_queryLogAfter ( IedConnection  self,
IedClientError error,
const char *  logReference,
MmsValue entryID,
uint64_t  timeStamp,
bool *  moreFollows 
)

Implementation of the QueryLogAfter ACSI service.

Read log entries from a log at the server following the entry with the specified entryID and timestamp. If the complete range does not fit in a single MMS message the moreFollows flag will be set to true, to indicate that more entries are available for the specified time range.

Parameters
selfthe connection object
errorthe error code if an error occurs
logReferencelog object reference in the form <LD name>="">/<LN name>="">$<log name>="">
entryIDusually the entryID of the last received entry
timeStampas millisecond UTC timestamp
moreFollows(output value) indicates that more entries are available that match the specification.
Returns
list of MmsJournalEntry objects matching the specification
LinkedList IedConnection_queryLogByTime ( IedConnection  self,
IedClientError error,
const char *  logReference,
uint64_t  startTime,
uint64_t  endTime,
bool *  moreFollows 
)

Implementation of the QueryLogByTime ACSI service.

Read log entries from a log at the server. The log entries to read are specified by a starting time and an end time. If the complete range does not fit in a single MMS message the moreFollows flag will be set to true, to indicate that more entries are available for the specified time range.

Parameters
selfthe connection object
errorthe error code if an error occurs
logReferencelog object reference in the form <LD name>="">/<LN name>="">$<log name>="">
startTimeas millisecond UTC timestamp
endTimeas millisecond UTC timestamp
moreFollows(output value) indicates that more entries are available that match the specification.
Returns
list of MmsJournalEntry objects matching the specification