B4J Question [BANano] How to call .CreateThreadSafeMap on BANanoServer?

Mashiane

Expert
Licensed User
Longtime User
Ola

In this 2020 post, Erel has posted a mutli-database jRDC, https://www.b4x.com/android/forum/threads/mysql-connector-for-b4i.116617/post-729095

In App_Start, this is the call in terms of the code example.

B4X:
Connectors = srvr.CreateThreadSafeMap
    Dim dbs As List = Array("test1", "test2") 'read from a file
    For Each db As String In dbs
        Dim con As RDCConnector
        con.Initialize(db)
        Connectors.Put(db, con)
    Next

How do I execute a similar call on the BANanoServer

B4X:
srvr.CreateThreadSafeMap

Thanks
 
Top