com.jfx.strategy
Class BasicStrategyRunner
java.lang.Object
com.jfx.strategy.BasicStrategyRunner
- All Implemented Interfaces:
- StrategyRunner, java.lang.Runnable
- Direct Known Subclasses:
- MT4TerminalConnection
public class BasicStrategyRunner
- extends java.lang.Object
- implements StrategyRunner, java.lang.Runnable
Created by IntelliJ IDEA.
User: roman
Date: 21/5/2009
Time: 14:55:10
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
clientName
protected java.lang.String clientName
IDLE
protected static final java.lang.StringBuilder IDLE
isAlive
protected boolean isAlive
strategy
protected Strategy strategy
callsCount
protected static long callsCount
isRunning
protected boolean isRunning
coordinationSynch
protected final java.lang.Object coordinationSynch
BasicStrategyRunner
public BasicStrategyRunner()
start
public void start(java.lang.String clientName)
- Specified by:
start
in interface StrategyRunner
preInit
public void preInit()
close
public void close()
- Specified by:
close
in interface StrategyRunner
getCommand
public java.lang.String getCommand()
- Specified by:
getCommand
in interface StrategyRunner
resCommand
public void resCommand(java.lang.String s)
- Specified by:
resCommand
in interface StrategyRunner
sendCommandGetResult
public java.lang.String sendCommandGetResult(java.lang.StringBuilder command)
- Specified by:
sendCommandGetResult
in interface StrategyRunner
isAlive
public boolean isAlive()
- Specified by:
isAlive
in interface StrategyRunner
startCoordination
public void startCoordination()
isRunning
protected boolean isRunning()
run
public void run()
- Specified by:
run
in interface java.lang.Runnable
Copyright © 2008-2009 Roman Gerasimenko.