Class BTPeerIDByteDecoderDefinitions
java.lang.Object
com.biglybt.core.peermanager.utils.BTPeerIDByteDecoderDefinitions
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescription(package private) static class(package private) static class -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final HashMapprivate static final HashMapprivate static final ArrayListList of objects which describes clients with their own custom naming scheme.private static final HashMap(package private) static final Stringprivate static final HashMapprivate static final HashMap(package private) static final String(package private) static final String(package private) static final String(package private) static final String(package private) static final String(package private) static final String(package private) static final String(package private) static final String(package private) static final String(package private) static final String(package private) static final String(package private) static final String(package private) static final String(package private) static final String(package private) static final String(package private) static final String(package private) static final String(package private) static final String(package private) static final String(package private) static final String(package private) static final String(package private) static final String -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate static voidaddAzStyle(String id, String client) private static voidaddAzStyle(String id, String client, String version_style) private static voidaddMainlineStyle(char id, String client) private static voidaddShadowStyle(char id, String client) private static voidaddShadowStyle(char id, String client, String version_style) private static BTPeerIDByteDecoderDefinitions.ClientDataaddSimpleClient(String client_name, String identifier) private static BTPeerIDByteDecoderDefinitions.ClientDataaddSimpleClient(String client_name, String identifier, int position) private static voidaddVersionedClient(BTPeerIDByteDecoderDefinitions.ClientData client, String version_type, int length) private static voidaddVersionedClient(BTPeerIDByteDecoderDefinitions.ClientData client, String version_type, int length, int version_pos) private static voidaddVersionedClient(BTPeerIDByteDecoderDefinitions.ClientData client, String version_type, int length, String format) private static voidaddVersionedClient(BTPeerIDByteDecoderDefinitions.ClientData client, String version_type, int length, String format, int version_pos) static StringformatUnknownAzStyleClient(String peer_id) static StringformatUnknownShadowStyleClient(String peer_id) static StringgetAzStyleClientName(String peer_id) static StringgetAzStyleClientVersion(String client_name, String peer_id, String net) static StringgetMainlineStyleClientName(String peer_id) static StringgetShadowStyleClientName(String peer_id) getSubstringStyleClient(String peer_id) static StringgetSubstringStyleClientVersion(BTPeerIDByteDecoderDefinitions.ClientData client_data, String peer_id, byte[] peer_id_bytes, String net)
-
Field Details
-
az_style_code_map
-
az_client_version_map
-
shadow_style_code_map
-
shadow_client_version_map
-
mainline_style_code_map
-
custom_style_client_list
List of objects which describes clients with their own custom naming scheme. -
VER_AZ_THREE_DIGITS
- See Also:
-
VER_AZ_THREE_DIGITS_PLUS_MNEMONIC
- See Also:
-
VER_AZ_ONE_MAJ_TWO_MIN_PLUS_MNEMONIC
- See Also:
-
VER_AZ_FOUR_DIGITS
- See Also:
-
VER_AZ_V_FOUR_DIGITS
- See Also:
-
VER_AZ_TWO_MAJ_TWO_MIN
- See Also:
-
VER_AZ_ONE_MAJ_TWO_MIN_ONE_TRAIL
- See Also:
-
VER_AZ_SKIP_FIRST_ONE_MAJ_TWO_MIN
- See Also:
-
VER_AZ_KTORRENT_STYLE
- See Also:
-
VER_AZ_TRANSMISSION_STYLE
- See Also:
-
VER_AZ_LAST_THREE_DIGITS
- See Also:
-
VER_AZ_THREE_ALPHANUMERIC_DIGITS
- See Also:
-
VER_BLOCK
- See Also:
-
VER_DOTTED_BLOCK
- See Also:
-
VER_BYTE_BLOCK_DOTTED_CHAR
- See Also:
-
VER_BYTE_BLOCK_DOTTED_NUM
- See Also:
-
VER_TWOBYTE_BLOCK_DOTTED_CHAR
- See Also:
-
VER_BITS_ON_WHEELS
- See Also:
-
VER_TWO_BYTE_THREE_PART
- See Also:
-
NO_VERSION
- See Also:
-
VER_BYTE_UM_STYLE
- See Also:
-
VER_BITLORD
- See Also:
-
VER_TWO_BYTE_MAINLINE
- See Also:
-
-
Constructor Details
-
BTPeerIDByteDecoderDefinitions
public BTPeerIDByteDecoderDefinitions()
-
-
Method Details
-
addAzStyle
-
addAzStyle
-
addShadowStyle
-
addShadowStyle
-
addMainlineStyle
-
addSimpleClient
private static BTPeerIDByteDecoderDefinitions.ClientData addSimpleClient(String client_name, String identifier) -
addSimpleClient
private static BTPeerIDByteDecoderDefinitions.ClientData addSimpleClient(String client_name, String identifier, int position) -
addVersionedClient
private static void addVersionedClient(BTPeerIDByteDecoderDefinitions.ClientData client, String version_type, int length) -
addVersionedClient
private static void addVersionedClient(BTPeerIDByteDecoderDefinitions.ClientData client, String version_type, int length, String format) -
addVersionedClient
private static void addVersionedClient(BTPeerIDByteDecoderDefinitions.ClientData client, String version_type, int length, int version_pos) -
addVersionedClient
private static void addVersionedClient(BTPeerIDByteDecoderDefinitions.ClientData client, String version_type, int length, String format, int version_pos) -
getAzStyleClientName
-
getShadowStyleClientName
-
getMainlineStyleClientName
-
getAzStyleClientVersion
-
getSubstringStyleClient
-
getSubstringStyleClientVersion
public static String getSubstringStyleClientVersion(BTPeerIDByteDecoderDefinitions.ClientData client_data, String peer_id, byte[] peer_id_bytes, String net) -
formatUnknownAzStyleClient
-
formatUnknownShadowStyleClient
-