net.sourceforge.eclipsetrader.core
Interface INewsProvider


public interface INewsProvider

Interface for news data provider plugins.


Method Summary
 void snapshot()
          Take a single snapshot of the available news.
 void snapshot(Security security)
          Take a single snapshot of the available news for the given security.
 void start()
          Starts the news feed.
 void stop()
          Stops the news feed.
 

Method Detail

start

public void start()
Starts the news feed.
This method may be called more than once without stop being called first. implementors should take care of this and avoid errors and duplicated threads.


stop

public void stop()
Stops the news feed.
This method may be called more than once without start being called first. implementors should take care of this and avoid errors and duplicated threads.


snapshot

public void snapshot()
Take a single snapshot of the available news.
This method may be called at any time with or without starting or stopping the feed first.


snapshot

public void snapshot(Security security)
Take a single snapshot of the available news for the given security. This method may be called at any time with or without starting or stopping the feed first.

Parameters:
security - - the security