public static enum PortManager.PortRef.CloseOption extends java.lang.Enum<PortManager.PortRef.CloseOption>
PortManager.PortRef.close(Set).| Enum Constant and Description |
|---|
NO_RELEASE_CHECK
Indicates that no busy check should be performed when closing the
PortRef and
releasing a port. |
| Modifier and Type | Method and Description |
|---|---|
static PortManager.PortRef.CloseOption |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static PortManager.PortRef.CloseOption[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PortManager.PortRef.CloseOption NO_RELEASE_CHECK
PortRef and
releasing a port. This option should be used only when it is known that the port has not
been used and cannot be busy.public static PortManager.PortRef.CloseOption[] values()
for (PortManager.PortRef.CloseOption c : PortManager.PortRef.CloseOption.values()) System.out.println(c);
public static PortManager.PortRef.CloseOption 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 nullCopyright © 2022. All rights reserved.