Packages that use PeerAcceptor
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 PeerAcceptor in org.klomp.snark
Fields in org.klomp.snark declared as PeerAcceptorModifier and TypeFieldDescriptionprivate final PeerAcceptorConnectionAcceptor.Handler._paThe acceptor for the peer handshake.private final PeerAcceptorConnectionAcceptor.TorrentAcceptLoop._paThe acceptor for the peer handshakes.private final PeerAcceptorConnectionAcceptor.peeracceptorThe acceptor for the peer handshakes.Methods in org.klomp.snark with parameters of type PeerAcceptorModifier and TypeMethodDescriptionprivate voidConnectionAcceptor.handleSocket(I2PSocket socket, Destination myDest, PeerAcceptor pa) Validate an accepted socket and dispatch it to a handler thread.Constructors in org.klomp.snark with parameters of type PeerAcceptorModifierConstructorDescriptionConnectionAcceptor(I2PSnarkUtil util, PeerAcceptor peeracceptor) Unused (single torrent).ConnectionAcceptor(I2PSnarkUtil util, PeerAcceptor peeracceptor, TorrentDest td) Single torrent on its own destination.Handler(I2PSocket socket, PeerAcceptor pa) Builds the handler for one incoming peer.