Remote Backends

This commit is contained in:
Luis Fernando Molina committed 2020-04-22 14:41:23 +02:00
1 parent 97247e3e29
commit 2ed86e0118
20 files changed
+338 -111

No files matched your search

+16 -2
View File
@@ -32,6 +32,7 @@ function newFileSequence () {
let eventSubscriptionIdDatasetUpdated
let callerId
let eventsServerClient
return thisObject
@@ -52,6 +53,7 @@ function newFileSequence () {
session = undefined
dataset = undefined
product = undefined
eventsServerClient = undefined
finalized = true
} catch (err) {
@@ -59,7 +61,18 @@ function newFileSequence () {
}
}
function initialize (pDataMine, pBot, pSession, pProduct, pDataset, pExchange, pMarket, callBackFunction) {
function initialize (
pDataMine,
pBot,
pSession,
pProduct,
pDataset,
pExchange,
pMarket,
pHost,
pPort,
pEventsServerClient,
callBackFunction) {
try {
exchange = pExchange
market = pMarket
@@ -68,9 +81,10 @@ function newFileSequence () {
session = pSession
dataset = pDataset
product = pProduct
eventsServerClient = pEventsServerClient
fileCloud = newFileCloud()
fileCloud.initialize(bot)
fileCloud.initialize(bot, pHost, pPort)
callerId = newUniqueId()