public enum TimeSyncResult extends Enum<TimeSyncResult>
Enum Constant and Description |
---|
ASSOCIATION_REMOVED
association was removed mid-task
|
BAD_OUTSTATION_TIME_DELAY
Outstation time delay exceeded the response delay
|
BAD_RESPONSE
response was malformed or contained object headers
|
CLOCK_ROLLBACK
Detected a clock rollback
|
IIN_ERROR
Outstation indicated an error
|
NO_CONNECTION
no connection
|
OVERFLOW
Overflow in calculation
|
RESPONSE_TIMEOUT
timeout occurred before receiving a response
|
SHUTDOWN
master was shutdown
|
STILL_NEEDS_TIME
Outstation did not clear the NEED_TIME IIN bit
|
SUCCESS
Time synchronization operation was a success
|
SYSTEM_TIME_NOT_AVAILABLE
System time not available
|
SYSTEM_TIME_NOT_UNIX
The system time cannot be converted to a Unix timestamp
|
TOO_MANY_REQUESTS
too many user requests queued
|
WRITE_ERROR
insufficient buffer space to serialize the request
|
Modifier and Type | Method and Description |
---|---|
static TimeSyncResult |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TimeSyncResult[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TimeSyncResult SUCCESS
public static final TimeSyncResult CLOCK_ROLLBACK
public static final TimeSyncResult SYSTEM_TIME_NOT_UNIX
public static final TimeSyncResult BAD_OUTSTATION_TIME_DELAY
public static final TimeSyncResult OVERFLOW
public static final TimeSyncResult STILL_NEEDS_TIME
public static final TimeSyncResult SYSTEM_TIME_NOT_AVAILABLE
public static final TimeSyncResult IIN_ERROR
public static final TimeSyncResult TOO_MANY_REQUESTS
public static final TimeSyncResult BAD_RESPONSE
public static final TimeSyncResult RESPONSE_TIMEOUT
public static final TimeSyncResult WRITE_ERROR
public static final TimeSyncResult NO_CONNECTION
public static final TimeSyncResult SHUTDOWN
public static final TimeSyncResult ASSOCIATION_REMOVED
public static TimeSyncResult[] values()
for (TimeSyncResult c : TimeSyncResult.values()) System.out.println(c);
public static TimeSyncResult valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullCopyright © 2021. All rights reserved.