public enum SupportedDataStreamType extends Enum<SupportedDataStreamType> implements DataStreamType
DataStreamType.Get| 限定符和类型 | 方法和说明 |
|---|---|
DataStreamFactory |
newClientFactory(Parameters parameters) |
DataStreamFactory |
newServerFactory(Parameters parameters) |
static SupportedDataStreamType |
valueOf(String name)
返回带有指定名称的该类型的枚举常量。
|
static SupportedDataStreamType |
valueOfIgnoreCase(String s) |
static SupportedDataStreamType[] |
values()
按照声明该枚举类型的常量的顺序, 返回
包含这些常量的数组。
|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOfnamepublic static final SupportedDataStreamType DISABLED
public static final SupportedDataStreamType NETTY
public static SupportedDataStreamType[] values()
for (SupportedDataStreamType c : SupportedDataStreamType.values()) System.out.println(c);
public static SupportedDataStreamType valueOf(String name)
valueOf 在接口中 DataStreamTypename - 要返回的枚举常量的名称。IllegalArgumentException - 如果该枚举类型没有带有指定名称的常量NullPointerException - 如果参数为空值public static SupportedDataStreamType valueOfIgnoreCase(String s)
public DataStreamFactory newClientFactory(Parameters parameters)
newClientFactory 在接口中 DataStreamTypepublic DataStreamFactory newServerFactory(Parameters parameters)
newServerFactory 在接口中 DataStreamTypeCopyright © 2017–2021 The Apache Software Foundation. All rights reserved.