Uses of Class
cloud.metaapi.sdk.meta_api.MetaApiConnection
-
Packages that use MetaApiConnection Package Description cloud.metaapi.sdk.meta_api cloud.metaapi.sdk.util -
-
Uses of MetaApiConnection in cloud.metaapi.sdk.meta_api
Methods in cloud.metaapi.sdk.meta_api that return types with arguments of type MetaApiConnection Modifier and Type Method Description CompletableFuture<MetaApiConnection>ConnectionRegistry. connect(MetatraderAccount account, HistoryStorage historyStorage)Creates and returns a new account connection if doesnt exist, otherwise returns oldCompletableFuture<MetaApiConnection>MetatraderAccount. connect()Connects to MetaApi with default history storage.CompletableFuture<MetaApiConnection>MetatraderAccount. connect(HistoryStorage historyStorage)Connects to MetaApi. -
Uses of MetaApiConnection in cloud.metaapi.sdk.util
Methods in cloud.metaapi.sdk.util that return MetaApiConnection Modifier and Type Method Description MetaApiConnectionServiceProvider.MetaApiConnectionProvider. create(MetaApiWebsocketClient websocketClient, MetatraderAccount account, HistoryStorage historyStorage, ConnectionRegistry connectionRegistry)Creates MetaApiConnection mockstatic MetaApiConnectionServiceProvider. createMetaApiConnection(MetaApiWebsocketClient websocketClient, MetatraderAccount account, HistoryStorage historyStorage, ConnectionRegistry connectionRegistry)Constructs metaapi connection with its corresponding constructor or returns a mock if it is set.Methods in cloud.metaapi.sdk.util with parameters of type MetaApiConnection Modifier and Type Method Description static voidServiceProvider. setMetApiConnectionMock(MetaApiConnection mock)Sets metaapi connection mock that will be created by this provider.
-