Packages that use CommentSet
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.
The I2PSnark web interface (i2psnark.war): servlets and helpers for torrent management, file browsing and configuration.
Uses of CommentSet in org.klomp.snark
Fields in org.klomp.snark declared as CommentSetMethods in org.klomp.snark that return CommentSetModifier and TypeMethodDescriptionSnark.getComments()The current comment set for this torrent.CompleteListener.getSavedComments(Snark snark) The saved comments.SnarkManager.getSavedComments(Snark snark) The comments for a torrent.UpdateRunner.getSavedComments(Snark snark) Add a message from the torrent to the console.Methods in org.klomp.snark with parameters of type CommentSetModifier and TypeMethodDescriptionvoidCompleteListener.locked_saveComments(Snark snark, CommentSet comments) Persist a comment set under the torrent's own lock, so a comment fetched from a tracker is not written concurrently with the torrenting thread.voidSnarkManager.locked_saveComments(Snark snark, CommentSet comments) Save the comments for a torrent.voidUpdateRunner.locked_saveComments(Snark snark, CommentSet comments) Save comments for the torrent.static voidExtensionHandler.locked_sendComments(Peer peer, int num, CommentSet comments) Sends comments to a peer.Uses of CommentSet in org.klomp.snark.web
Methods in org.klomp.snark.web with parameters of type CommentSetModifier and TypeMethodDescriptionprivate static I2PSnarkServlet.CommentsHeaderResultI2PSnarkServlet.readCommentState(CommentSet comments, boolean er, boolean ec) Reads the user's rating, community rating statistics, and the comment iterator from a torrent's comment set within a single lock scope, so markup rendering happens outside synchronized blocks.