public static enum PeerLogAlert.Direction extends java.lang.Enum<PeerLogAlert.Direction>
INFO which is neither incoming or outgoing.| Enum Constant and Description |
|---|
INCOMING |
INCOMING_MESSAGE |
INFO |
OUTGOING |
OUTGOING_MESSAGE |
UNKNOWN |
| Modifier and Type | Method and Description |
|---|---|
static PeerLogAlert.Direction |
fromSwig(int swigValue) |
int |
swig() |
static PeerLogAlert.Direction |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static PeerLogAlert.Direction[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PeerLogAlert.Direction INCOMING_MESSAGE
public static final PeerLogAlert.Direction OUTGOING_MESSAGE
public static final PeerLogAlert.Direction INCOMING
public static final PeerLogAlert.Direction OUTGOING
public static final PeerLogAlert.Direction INFO
public static final PeerLogAlert.Direction UNKNOWN
public static PeerLogAlert.Direction[] values()
for (PeerLogAlert.Direction c : PeerLogAlert.Direction.values()) System.out.println(c);
public static PeerLogAlert.Direction 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 int swig()
public static PeerLogAlert.Direction fromSwig(int swigValue)
swigValue -