public enum SupportedDataStreamType extends Enum<SupportedDataStreamType> implements DataStreamType
DataStreamType.Get| Modifier and Type | Method and Description |
|---|---|
DataStreamFactory |
newClientFactory(Parameters parameters) |
DataStreamFactory |
newServerFactory(Parameters parameters) |
static SupportedDataStreamType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SupportedDataStreamType |
valueOfIgnoreCase(String s) |
static SupportedDataStreamType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
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 in interface DataStreamTypename - 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 SupportedDataStreamType valueOfIgnoreCase(String s)
public DataStreamFactory newClientFactory(Parameters parameters)
newClientFactory in interface DataStreamTypepublic DataStreamFactory newServerFactory(Parameters parameters)
newServerFactory in interface DataStreamTypeCopyright © 2017–2022 The Apache Software Foundation. All rights reserved.