Package | Description |
---|---|
protocolP2P |
Modifier and Type | Field and Description |
---|---|
protected RequestResponseCode |
Payload.requestResponseCode |
Modifier and Type | Field and Description |
---|---|
private static java.util.Map<java.lang.Byte,RequestResponseCode> |
RequestResponseCode.BY_CODE |
Modifier and Type | Method and Description |
---|---|
protected static RequestResponseCode |
RequestResponseCode.fromCode(byte code)
Gives enum from Packet code.
|
RequestResponseCode |
Payload.getRequestResponseCode()
RRCode getter.
|
static RequestResponseCode |
RequestResponseCode.valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static RequestResponseCode[] |
RequestResponseCode.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Constructor and Description |
---|
Payload(RequestResponseCode requestResponseCode)
Consructor used to create Payload with a payload size of zero using a RRCode.
|