public enum StreamingMode extends Enum<StreamingMode>
| Enum Constant and Description |
|---|
DUPLEX
stream in, stream out.
|
IN
Stream in, one message out.
|
NONE
one message in, one message out.
|
OUT
one message in, stream out.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getValue() |
static StreamingMode |
of(String value) |
static StreamingMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static StreamingMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final StreamingMode NONE
public static final StreamingMode IN
public static final StreamingMode OUT
public static final StreamingMode DUPLEX
public static StreamingMode[] values()
for (StreamingMode c : StreamingMode.values()) System.out.println(c);
public static StreamingMode 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()
public static StreamingMode of(String value)
Copyright © 2023. All rights reserved.