Package org.apache.sshd.client.channel
Enum ClientChannel.Streaming
- java.lang.Object
-
- java.lang.Enum<ClientChannel.Streaming>
-
- org.apache.sshd.client.channel.ClientChannel.Streaming
-
- All Implemented Interfaces:
Serializable
,Comparable<ClientChannel.Streaming>
- Enclosing interface:
- ClientChannel
public static enum ClientChannel.Streaming extends Enum<ClientChannel.Streaming>
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ClientChannel.Streaming
valueOf(String name)
Returns the enum constant of this type with the specified name.static ClientChannel.Streaming[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
Async
public static final ClientChannel.Streaming Async
-
Sync
public static final ClientChannel.Streaming Sync
-
-
Method Detail
-
values
public static ClientChannel.Streaming[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (ClientChannel.Streaming c : ClientChannel.Streaming.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ClientChannel.Streaming valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
-