Packages that use Message
Package
Description
I2P version of the Snark BitTorrent client, enhanced for I2P: peers are I2P destinations, torrents can be served anonymously as hidden services, and metadata carries I2P-specific comment fields.
Uses of Message in org.klomp.snark
Fields in org.klomp.snark with type parameters of type MessageModifier and TypeFieldDescriptionprivate final BlockingQueue<Message> PeerConnectionOut.sendQueueThe messages waiting to be written.Methods in org.klomp.snark that return MessageModifier and TypeMethodDescription(package private) MessagePeerConnectionOut.headPiece()The first queued PIECE message in send order.Methods in org.klomp.snark with parameters of type MessageModifier and TypeMethodDescriptionprivate voidPeerConnectionOut.addMessage(Message m) Adds a message to the sendQueue and notifies the method waiting on the sendQueue to change.private voidPeerConnectionOut.kickPrefetch(Message m) Submit an off-thread load for a freshly queued PIECE so its data is ready before the sender thread reaches it, decoupling disk latency from the write path.private voidPeerConnectionOut.runPrefetch(Message m) Prefetch task: claim exclusive load rights, skip if purged meanwhile, read outside all locks, then publish.