public enum ACMHeartbeat extends java.lang.Enum<ACMHeartbeat>
| Enum Constant and Description |
|---|
HeartbeatAlways
Send a heartbeat at regular intervals until the connection is closed.
|
HeartbeatOff
Disables heartbeats.
|
HeartbeatOnIdle
Send a heartbeat at regular intervals when the connection is idle.
|
HeartbeatOnInvocation
Send a heartbeat at regular intervals if the connection is idle and only if there are pending dispatch.
|
| Modifier and Type | Method and Description |
|---|---|
int |
value() |
static ACMHeartbeat |
valueOf(int __v) |
static ACMHeartbeat |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ACMHeartbeat[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ACMHeartbeat HeartbeatOff
public static final ACMHeartbeat HeartbeatOnInvocation
public static final ACMHeartbeat HeartbeatOnIdle
public static final ACMHeartbeat HeartbeatAlways
public static ACMHeartbeat[] values()
for (ACMHeartbeat c : ACMHeartbeat.values()) System.out.println(c);
public static ACMHeartbeat 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 value()
public static ACMHeartbeat valueOf(int __v)