public static enum ComponentRejectedEvent.RejectType extends Enum<ComponentRejectedEvent.RejectType>
Enum Constant and Description |
---|
LOCAL
This event represents a TC-L-REJECT notification caused by the local
stack rejecting a non-reject component received from the remote peer.
|
REMOTE
This event represents a TC-U-REJECT or TC-R-REJECT notification caused
by a reject component being received from the remote peer.
|
Modifier and Type | Method and Description |
---|---|
static ComponentRejectedEvent.RejectType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ComponentRejectedEvent.RejectType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ComponentRejectedEvent.RejectType REMOTE
public static final ComponentRejectedEvent.RejectType LOCAL
public static ComponentRejectedEvent.RejectType[] values()
for (ComponentRejectedEvent.RejectType c : ComponentRejectedEvent.RejectType.values()) System.out.println(c);
public static ComponentRejectedEvent.RejectType 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 null