Class SyncResult
- java.lang.Object
-
- com.inductiveautomation.ignition.gateway.gan.sync.SyncResult
-
public class SyncResult extends java.lang.Object
Represents the result of a sync operation. Uses quality code to allow for fuller details if the QC has diagnostic info on it, but is otherwise mostly just "Good" or "Bad". If the result is good, it will also have the sync id to be used for the next operation.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static SyncResult
failure(QualityCode code)
long
getNextId()
QualityCode
getResult()
static SyncResult
success(long syncId)
-
-
-
Method Detail
-
failure
public static SyncResult failure(QualityCode code)
-
success
public static SyncResult success(long syncId)
-
getResult
public QualityCode getResult()
-
getNextId
public long getNextId()
-
-