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 Message
    Modifier and Type
    Field
    Description
    private final BlockingQueue<Message>
    PeerConnectionOut.sendQueue
    The messages waiting to be written.
    Methods in org.klomp.snark that return Message
    Modifier and Type
    Method
    Description
    (package private) Message
    PeerConnectionOut.headPiece()
    The first queued PIECE message in send order.
    Methods in org.klomp.snark with parameters of type Message
    Modifier and Type
    Method
    Description
    private void
    PeerConnectionOut.addMessage(Message m)
    Adds a message to the sendQueue and notifies the method waiting on the sendQueue to change.
    private void
    PeerConnectionOut.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 void
    PeerConnectionOut.runPrefetch(Message m)
    Prefetch task: claim exclusive load rights, skip if purged meanwhile, read outside all locks, then publish.