Skip to main content

Notice: this Wiki will be going read only early in 2024 and edits will no longer be possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.

Jump to: navigation, search

Newsreader/sources

< Newsreader
Revision as of 06:57, 11 August 2009 by Wim.jongman.remainsoftware.com (Talk | contribs) (Loading the view)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Salvo Sources

The sources are here
Media:salvo.0.5.0.sources.zip

Getting Started

The interesting stuff can be found in the model which classes are declared in
com.weltvree.salvo.model

  • IArticle
    Contains the article metadata
  • INewsgroup
    The newsgroup metadata
  • IServer
    the newsserver metadata
  • IServerConnection
    The class that handles i/o with the server. Got from the server by getConnection()
  • IServerStoreFacade
    The class that manages synchronization between the store and the server.
  • IStore
    The place where fetched articles are stored. A filesystem store reference implementation exists.


Other interesting classes are ServerRegex, ISalvoResource, SalvoResourceFactory.

Loading the view

The main view is populated using the GroupView.getInitialInput() method. This triggers the SubscribedServerProvider class which delivers IServers, etcetera. The store implementation bundle should start early to initialize the "store service" (in my case currently a class is initialized) See launch config in application project.

Back to the top