public static enum RPC.Commands extends Enum<RPC.Commands>
| Enum Constant and Description |
|---|
ADD |
BROADCAST |
DIGEST |
DIGEST_BLOOMFILTER |
DIGEST_META_VALUES |
DIRECT_DATA |
GCM |
GET |
GET_LATEST |
GET_LATEST_WITH_DIGEST |
LOCAL_ANNOUNCE |
NEIGHBOR |
PEX |
PING |
PUT |
PUT_CONFIRM |
PUT_META |
QUIT |
RCON |
RELAY |
REMOVE |
SYNC |
SYNC_INFO |
TRACKER_ADD |
TRACKER_GET |
| Modifier and Type | Method and Description |
|---|---|
static RPC.Commands |
find(int nr) |
byte |
getNr() |
static RPC.Commands |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static RPC.Commands[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RPC.Commands PING
public static final RPC.Commands PUT
public static final RPC.Commands GET
public static final RPC.Commands ADD
public static final RPC.Commands REMOVE
public static final RPC.Commands NEIGHBOR
public static final RPC.Commands QUIT
public static final RPC.Commands DIRECT_DATA
public static final RPC.Commands TRACKER_ADD
public static final RPC.Commands TRACKER_GET
public static final RPC.Commands PEX
public static final RPC.Commands DIGEST
public static final RPC.Commands BROADCAST
public static final RPC.Commands PUT_META
public static final RPC.Commands DIGEST_BLOOMFILTER
public static final RPC.Commands RELAY
public static final RPC.Commands DIGEST_META_VALUES
public static final RPC.Commands SYNC
public static final RPC.Commands SYNC_INFO
public static final RPC.Commands PUT_CONFIRM
public static final RPC.Commands GET_LATEST
public static final RPC.Commands RCON
public static final RPC.Commands GET_LATEST_WITH_DIGEST
public static final RPC.Commands GCM
public static final RPC.Commands LOCAL_ANNOUNCE
public static RPC.Commands[] values()
for (RPC.Commands c : RPC.Commands.values()) System.out.println(c);
public static RPC.Commands 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 byte getNr()
public static RPC.Commands find(int nr)
Copyright © 2014. All rights reserved.