public enum LinkStatusResult extends Enum<LinkStatusResult>
MasterChannel.checkLinkStatus(io.stepfunc.dnp3.AssociationId)
Enum Constant and Description |
---|
SUCCESS
The outstation responded with a valid LINK_STATUS
|
TASK_ERROR
The task failed for some reason (e.g. the master was shutdown)
|
UNEXPECTED_RESPONSE
There was activity on the link, but it wasn't a LINK_STATUS
|
Modifier and Type | Method and Description |
---|---|
static LinkStatusResult |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static LinkStatusResult[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final LinkStatusResult SUCCESS
public static final LinkStatusResult UNEXPECTED_RESPONSE
public static final LinkStatusResult TASK_ERROR
public static LinkStatusResult[] values()
for (LinkStatusResult c : LinkStatusResult.values()) System.out.println(c);
public static LinkStatusResult 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.