public enum ChannelType extends Enum<ChannelType>
Enum Constant and Description |
---|
AGENT_FORWARDING
agent forwarding
|
DIRECT_TCPIP
direct tcpip
|
EXEC
exec
|
FORWARDED_TCPIP
forwarded tcpip
|
SESSION
Session
|
SFTP
sftp
|
SHELL
shell
|
SUBSYSTEM
subsystem
|
X11
x11
|
Modifier and Type | Method and Description |
---|---|
String |
getValue()
获取值
|
static ChannelType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ChannelType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ChannelType SESSION
public static final ChannelType SHELL
public static final ChannelType EXEC
public static final ChannelType X11
public static final ChannelType AGENT_FORWARDING
public static final ChannelType DIRECT_TCPIP
public static final ChannelType FORWARDED_TCPIP
public static final ChannelType SFTP
public static final ChannelType SUBSYSTEM
public static ChannelType[] values()
for (ChannelType c : ChannelType.values()) System.out.println(c);
public static ChannelType 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 String getValue()
Copyright © 2024. All rights reserved.