mirror of
https://github.com/binlaab/nanofiles.git
synced 2026-07-01 18:16:29 +02:00
empezada implementación peerdl, cambiar DEFAULT_DIRECTORY_HOSTNAME en NanoFiles
This commit is contained in:
@@ -20,6 +20,7 @@ public class PeerMessageOps {
|
||||
public static final byte OPCODE_FILE_NOT_FOUND = 5;
|
||||
public static final byte OPCODE_AMBIGUOUS = 6;
|
||||
public static final byte OPCODE_PEER_DL = 7;
|
||||
public static final byte OPCODE_PEER_DL_ERROR = 8;
|
||||
|
||||
|
||||
|
||||
@@ -36,7 +37,8 @@ public class PeerMessageOps {
|
||||
OPCODE_REQUEST_PEER_DL,
|
||||
OPCODE_FILE_NOT_FOUND,
|
||||
OPCODE_AMBIGUOUS,
|
||||
OPCODE_PEER_DL
|
||||
OPCODE_PEER_DL,
|
||||
OPCODE_PEER_DL_ERROR
|
||||
};
|
||||
private static final String[] _valid_operations_str = { "INVALID_OPCODE",
|
||||
"REQUEST_PEER_FILES",
|
||||
@@ -45,7 +47,8 @@ public class PeerMessageOps {
|
||||
"REQUEST_PEER_DL",
|
||||
"FILE_NOT_FOUND",
|
||||
"FILE_AMBIGUOUS",
|
||||
"PEER_DL"
|
||||
"PEER_DL",
|
||||
"PEER_DL_ERROR"
|
||||
};
|
||||
|
||||
private static Map<String, Byte> _operation_to_opcode;
|
||||
|
||||
Reference in New Issue
Block a user