public static enum HtlcEvent.EventType extends java.lang.Enum<HtlcEvent.EventType>
RouterOuterClass.HtlcEvent.EventType
Modifier and Type | Method and Description |
---|---|
RouterOuterClass.HtlcEvent.EventType |
getApiObject() |
static HtlcEvent.EventType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static HtlcEvent.EventType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
static HtlcEvent.EventType |
wrap(RouterOuterClass.HtlcEvent.EventType apiObject) |
public static final HtlcEvent.EventType UNKNOWN
public static final HtlcEvent.EventType SEND
public static final HtlcEvent.EventType RECEIVE
public static final HtlcEvent.EventType FORWARD
public static HtlcEvent.EventType[] values()
for (HtlcEvent.EventType c : HtlcEvent.EventType.values()) System.out.println(c);
public static HtlcEvent.EventType valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic RouterOuterClass.HtlcEvent.EventType getApiObject()
public static HtlcEvent.EventType wrap(RouterOuterClass.HtlcEvent.EventType apiObject)