public enum ConnectionEventType extends java.lang.Enum<ConnectionEventType>
| Enum Constant and Description |
|---|
MATCHER_HINT |
OWNER_CLOSE |
OWNER_MESSAGE |
OWNER_OPEN |
PARTNER_CLOSE |
PARTNER_MESSAGE |
PARTNER_OPEN |
| Modifier and Type | Method and Description |
|---|---|
java.net.URI |
getURI() |
boolean |
isMessageAllowed(ConnectionState stateToCheck) |
static ConnectionEventType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ConnectionEventType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ConnectionEventType OWNER_CLOSE
public static final ConnectionEventType PARTNER_CLOSE
public static final ConnectionEventType OWNER_OPEN
public static final ConnectionEventType PARTNER_OPEN
public static final ConnectionEventType OWNER_MESSAGE
public static final ConnectionEventType PARTNER_MESSAGE
public static final ConnectionEventType MATCHER_HINT
public static ConnectionEventType[] values()
for (ConnectionEventType c : ConnectionEventType.values()) System.out.println(c);
public static ConnectionEventType 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 boolean isMessageAllowed(ConnectionState stateToCheck)
public java.net.URI getURI()
Copyright © 2019. All Rights Reserved.