Skip to content
lead2gold edited this page Nov 25, 2017 · 4 revisions

General

NewsReap Tool

TODO

Developers

NewsReap was designed to view News Servers from an object oriented point of view. It can be

  • NNTPArticle(): This object represents a single article found on a News Server.

  • NNTPContent(): An article can contain one ore more types of content found within it.

    • NNTPBinaryContent(): Represents binary content that can be found in articles (after it's been decoded). You can not post this type of content directly to News Servers until it's been encoded into an ascii format first.
    • NNTPAsciiContent(): This is post-able content to any News Server; it could simply be the text someone posted with their binary content, but it can also be the binary content as well (already encoded into a ascii format).
  • NNTPConnection(): A wrapper to an NNTP Server to make connections and two way communication easy. This is a single threaded connection; see NNTPManager() for the multi-threaded version.

  • NNTPManager(): Manages Multiple threaded instances of NNTPConnection() objects. The added complexity of threading requires that an instance of NNTPSettings() is passed in as an argument.

  • NNTPSettings(): Allows the storage of settings to be kept within a YAML file. This object is required to make use of an NNTPManager() object.

Hooks

Hooks allow you to link your code into newsreap and get more control over events that are taking place. See here for more details

Clone this wiki locally