Connection.ConnectionBase class
Base class for server-side implementations of Connection
public abstract class ConnectionBase
Public Members
| name | description |
|---|---|
| virtual CheckConnect(…) | Checks if terminal connection to MT4 server is alive |
| virtual Connect(…) | Creates terminal connection to the MT4 server and returns Guid of it [DefaultValues] { "user": "501401178", "password": "v8gctta", "host": "mt4-demo.roboforex.com", "port": "443", "baseChartSymbol": "EURUSD", "waitForTerminalIsAlive": "true" } |
| virtual ConnectEx(…) | Creates terminal connection to the MT5 server by MT cluster name, waits for connection and returns Guid of it |
| virtual ConnectProxy(…) | Connect to account with user, password, host, port. [DefaultValues] { "user": "500476959", "password": "ehj4bod", "host": "mt4-demo.roboforex.com", "port": "443", "proxyUser": "ProxyUser123", "proxyPassword": "qwerty123", "proxyHost": "65.108.126.217", "proxyPort": "1080", "proxyType": "Socks5" } |
| virtual Disconnect(…) | Close terminal connection to MT4 server |
| virtual Reconnect(…) | If you need to recreate terminal instance with the same id |
See Also
- class Connection
- namespace mt4_term_api