Package | Description |
---|---|
bt.tracker |
Modifier and Type | Method and Description |
---|---|
static CompactPeerInfo.AddressType |
CompactPeerInfo.AddressType.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CompactPeerInfo.AddressType[] |
CompactPeerInfo.AddressType.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Constructor and Description |
---|
CompactPeerInfo(byte[] peers,
CompactPeerInfo.AddressType addressType)
Create a list of peers from its' binary representation,
using the specified address type for decoding individual addresses.
|
CompactPeerInfo(byte[] peers,
CompactPeerInfo.AddressType addressType,
byte[] cryptoFlags)
Create a list of peers from its' binary representation,
using the specified address type for decoding individual addresses.
|
Copyright © 2016–2021. All rights reserved.