public enum GridClientProtocol extends Enum<GridClientProtocol>
| Enum Constant and Description |
|---|
HTTP
Deprecated.
|
TCP
Communication via tcp binary protocol.
|
| Modifier and Type | Method and Description |
|---|---|
static GridClientProtocol |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static GridClientProtocol[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
@Deprecated public static final GridClientProtocol HTTP
public static final GridClientProtocol TCP
public static GridClientProtocol[] values()
for (GridClientProtocol c : GridClientProtocol.values()) System.out.println(c);
public static GridClientProtocol 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 nullCopyright © 2014. All rights reserved.