public static enum Message.Content extends Enum<Message.Content>
| Enum Constant and Description |
|---|
BLOOM_FILTER |
BYTE_BUFFER |
EMPTY |
INTEGER |
KEY |
LONG |
MAP_KEY640_BYTE |
MAP_KEY640_DATA |
MAP_KEY640_KEYS |
PUBLIC_KEY |
PUBLIC_KEY_SIGNATURE |
SET_KEY640 |
SET_NEIGHBORS |
SET_PEER_SOCKET |
SET_TRACKER_DATA |
USER1 |
| Modifier and Type | Method and Description |
|---|---|
static Message.Content |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Message.Content[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Message.Content EMPTY
public static final Message.Content KEY
public static final Message.Content MAP_KEY640_DATA
public static final Message.Content MAP_KEY640_KEYS
public static final Message.Content SET_KEY640
public static final Message.Content SET_NEIGHBORS
public static final Message.Content BYTE_BUFFER
public static final Message.Content LONG
public static final Message.Content INTEGER
public static final Message.Content PUBLIC_KEY_SIGNATURE
public static final Message.Content SET_TRACKER_DATA
public static final Message.Content BLOOM_FILTER
public static final Message.Content MAP_KEY640_BYTE
public static final Message.Content PUBLIC_KEY
public static final Message.Content SET_PEER_SOCKET
public static final Message.Content USER1
public static Message.Content[] values()
for (Message.Content c : Message.Content.values()) System.out.println(c);
public static Message.Content 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.