Topic: Java API. Is it possible to have several sessions open simultaneously?
We are building an online service for our clients, so our backend must fetch Wialon data for multiple accounts (multiple auth tokens).
Our backend has a daemon written in Java to work with Wialon Java API.
Unfortunately, it looks like com.wialon.core.Session is a static singleton object, so it can service only one auth token at a time.
Am I missing something?
What would be the best way to achieve what we need - get updated info on Wialon units for a bunch of users every 5 minutes?
So far it seems I will be rewriting parts of daemon to use Remote API and saving session ids instead.