public static enum TransportParameter.CloseAction extends Enum<TransportParameter.CloseAction>
| Enum Constant and Description |
|---|
DELETE |
NONE |
UNSUBSCRIBE |
| Modifier and Type | Method and Description |
|---|---|
boolean |
doClose()
Returns whether this close action indicates that streams/channels shall be auto-closed at all.
|
boolean |
doDelete()
Returns whether this close action indicates that streams/channels shall be closed and deleted.
|
static TransportParameter.CloseAction |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TransportParameter.CloseAction[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TransportParameter.CloseAction NONE
public static final TransportParameter.CloseAction UNSUBSCRIBE
public static final TransportParameter.CloseAction DELETE
public static TransportParameter.CloseAction[] values()
for (TransportParameter.CloseAction c : TransportParameter.CloseAction.values()) System.out.println(c);
public static TransportParameter.CloseAction 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 nullpublic boolean doClose()
true for auto-close, false elsepublic boolean doDelete()
true for delete, false elseCopyright © 2022. All rights reserved.