dht
dht
com.github.lavrov.bittorrent.dht
CallbackRegistry
CallbackRegistry
Client
Client
BootstrapError
InvalidResponse
Message
QueryMessage
ResponseMessage
ErrorMessage
Message
MessageSocket
MessageSocket
Error
BecodeSerialization
MessageFormat
Node
Node
NodeId
NodeId
NodeInfo
PeerDiscovery
PeerDiscovery
DiscoveryState
DiscoveryState
Data
ExhaustedNodeList
Query
Ping
FindNode
GetPeers
AnnouncePeer
SampleInfoHashes
QueryHandler
QueryHandler
RequestResponse
RequestResponse
ErrorResponse
InvalidResponse
Timeout
Response
Ping
Nodes
Peers
SampleInfoHashes
RoutingTable
RoutingTable
TreeNode
Split
Bucket
TreeNode
RoutingTableBootstrap
dht
/
com.github.lavrov.bittorrent.dht
/
NodeId
NodeId
object
NodeId
Companion
class
Graph
Supertypes
Self type
trait
Product
trait
Mirror
class
Object
trait
Matchable
class
Any
NodeId
Type members
Value members
Type members
Inherited types
type
MirroredElemLabels
<:
Tuple
The names of the product elements
The names of the product elements
Inherited from
Mirror
type
MirroredLabel
<:
String
The name of the type
The name of the type
Inherited from
Mirror
Value members
Concrete methods
def
distance
(a:
NodeId
, b:
NodeId
):
BigInt
def
distance
(a:
NodeId
, b:
InfoHash
):
BigInt
def
generate
[F[_]](using
Random
[F],
Monad
[F]): F[
NodeId
]