net.sourceforge.eclipsetrader.core
Class FeedPlugin

java.lang.Object
  extended bynet.sourceforge.eclipsetrader.core.FeedPlugin

public abstract class FeedPlugin
extends java.lang.Object

Base abstract class for all feed plugins.


Field Summary
static int INTERVAL_DAILY
           
static int INTERVAL_MINUTE1
           
static int INTERVAL_MINUTE10
           
static int INTERVAL_MINUTE15
           
static int INTERVAL_MINUTE2
           
static int INTERVAL_MINUTE30
           
static int INTERVAL_MINUTE5
           
static int INTERVAL_MINUTE60
           
static int INTERVAL_MONTHLY
           
static int INTERVAL_WEEKLY
           
 
Constructor Summary
FeedPlugin()
           
 
Method Summary
 void subscribe(Security security)
           
 void subscribeLevelII(Security security)
           
 void unSubscribe(Security security)
           
 void unSubscribeLevelII(Security security)
           
 void updateHistory(Security security, int interval)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

INTERVAL_MINUTE1

public static final int INTERVAL_MINUTE1
See Also:
Constant Field Values

INTERVAL_MINUTE2

public static final int INTERVAL_MINUTE2
See Also:
Constant Field Values

INTERVAL_MINUTE5

public static final int INTERVAL_MINUTE5
See Also:
Constant Field Values

INTERVAL_MINUTE10

public static final int INTERVAL_MINUTE10
See Also:
Constant Field Values

INTERVAL_MINUTE15

public static final int INTERVAL_MINUTE15
See Also:
Constant Field Values

INTERVAL_MINUTE30

public static final int INTERVAL_MINUTE30
See Also:
Constant Field Values

INTERVAL_MINUTE60

public static final int INTERVAL_MINUTE60
See Also:
Constant Field Values

INTERVAL_DAILY

public static final int INTERVAL_DAILY
See Also:
Constant Field Values

INTERVAL_WEEKLY

public static final int INTERVAL_WEEKLY
See Also:
Constant Field Values

INTERVAL_MONTHLY

public static final int INTERVAL_MONTHLY
See Also:
Constant Field Values
Constructor Detail

FeedPlugin

public FeedPlugin()
Method Detail

updateHistory

public void updateHistory(Security security,
                          int interval)

subscribe

public void subscribe(Security security)

unSubscribe

public void unSubscribe(Security security)

subscribeLevelII

public void subscribeLevelII(Security security)

unSubscribeLevelII

public void unSubscribeLevelII(Security security)