public class MT4InprocessConnection extends MT4TerminalConnection
MT4TerminalConnection.UDPClientPacket| Modifier and Type | Field and Description |
|---|---|
String |
dllVersion |
String |
mqlVersion |
| Constructor and Description |
|---|
MT4InprocessConnection(String clientName) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
String |
getClientName() |
int |
getCmd(byte[] s,
int bufSize) |
int |
getCmd(char[] s,
int len) |
String |
getCommand() |
boolean |
isAlive() |
boolean |
isStarted() |
void |
preInit() |
void |
resCommand(String s) |
void |
run() |
String |
sendCommandGetResult(StringBuilder command) |
String |
sendCommandGetResult(UbbArgsMapper command) |
void |
setRes(String res) |
void |
setSocket(Socket socket) |
boolean |
start(String clientName,
boolean isLimited) |
void |
startCoordination() |
getId, getSocket, isConnected, isNoUDPAllowed, setId, setNoMultilineConnection, setUDPPortpublic MT4InprocessConnection(String clientName)
public void close()
close in interface StrategyRunnerclose in class MT4TerminalConnectionpublic void setSocket(Socket socket)
setSocket in class MT4TerminalConnectionpublic boolean isStarted()
public String sendCommandGetResult(UbbArgsMapper command)
sendCommandGetResult in interface StrategyRunnersendCommandGetResult in class MT4TerminalConnectionpublic String sendCommandGetResult(StringBuilder command)
sendCommandGetResult in interface StrategyRunnersendCommandGetResult in class MT4TerminalConnectionpublic int getCmd(byte[] s,
int bufSize)
public int getCmd(char[] s,
int len)
public void setRes(String res)
public String getClientName()
public boolean start(String clientName, boolean isLimited)
start in interface StrategyRunnerpublic void preInit()
public String getCommand()
getCommand in interface StrategyRunnerpublic void resCommand(String s)
resCommand in interface StrategyRunnerpublic boolean isAlive()
isAlive in interface StrategyRunnerpublic void startCoordination()