public static enum SessionHeartbeatController.HeartbeatType extends Enum<SessionHeartbeatController.HeartbeatType>
Enum Constant and Description |
---|
IGNORE
Use
SSH_MSG_IGNORE packets |
NONE
No heartbeat
|
RESERVED
Custom mechanism via
ReservedSessionMessagesHandler |
Modifier and Type | Field and Description |
---|---|
static Set<SessionHeartbeatController.HeartbeatType> |
VALUES |
Modifier and Type | Method and Description |
---|---|
static SessionHeartbeatController.HeartbeatType |
fromName(String name) |
static SessionHeartbeatController.HeartbeatType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SessionHeartbeatController.HeartbeatType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SessionHeartbeatController.HeartbeatType NONE
public static final SessionHeartbeatController.HeartbeatType IGNORE
SSH_MSG_IGNORE
packetspublic static final SessionHeartbeatController.HeartbeatType RESERVED
ReservedSessionMessagesHandler
public static final Set<SessionHeartbeatController.HeartbeatType> VALUES
public static SessionHeartbeatController.HeartbeatType[] values()
for (SessionHeartbeatController.HeartbeatType c : SessionHeartbeatController.HeartbeatType.values()) System.out.println(c);
public static SessionHeartbeatController.HeartbeatType 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 static SessionHeartbeatController.HeartbeatType fromName(String name)
Copyright © 2008–2024 The Apache Software Foundation. All rights reserved.