net.tomp2p.message
Enum Message.Content
java.lang.Object
java.lang.Enum<Message.Content>
net.tomp2p.message.Message.Content
- All Implemented Interfaces:
- Serializable, Comparable<Message.Content>
- Enclosing class:
- Message
public static enum Message.Content
- extends Enum<Message.Content>
Method Summary |
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. |
EMPTY
public static final Message.Content EMPTY
KEY
public static final Message.Content KEY
KEY_KEY
public static final Message.Content KEY_KEY
MAP_KEY160_DATA
public static final Message.Content MAP_KEY160_DATA
MAP_KEY480_DATA
public static final Message.Content MAP_KEY480_DATA
MAP_KEY_COMPARE_DATA
public static final Message.Content MAP_KEY_COMPARE_DATA
MAP_KEY_KEY
public static final Message.Content MAP_KEY_KEY
SET_KEY160
public static final Message.Content SET_KEY160
SET_KEY480
public static final Message.Content SET_KEY480
SET_NEIGHBORS
public static final Message.Content SET_NEIGHBORS
CHANNEL_BUFFER
public static final Message.Content CHANNEL_BUFFER
LONG
public static final Message.Content LONG
INTEGER
public static final Message.Content INTEGER
PUBLIC_KEY_SIGNATURE
public static final Message.Content PUBLIC_KEY_SIGNATURE
SET_TRACKER_DATA
public static final Message.Content SET_TRACKER_DATA
TWO_BLOOM_FILTER
public static final Message.Content TWO_BLOOM_FILTER
values
public static Message.Content[] values()
- Returns an array containing the constants of this enum type, in
the order they are declared. This method may be used to iterate
over the constants as follows:
for (Message.Content c : Message.Content.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static Message.Content valueOf(String name)
- Returns the enum constant of this type with the specified name.
The string must match exactly an identifier used to declare an
enum constant in this type. (Extraneous whitespace characters are
not permitted.)
- Parameters:
name
- the name of the enum constant to be returned.
- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant
with the specified name
NullPointerException
- if the argument is null
Copyright © 2013. All Rights Reserved.