Hi,
Is it possible to access admin tool statistic data (ccu, network ...) programmatically. I plan to have multiple servers deployment so I will roll my out statistic module to report to a central place.
Thanks,
how to access statistic data programmatically
how to access statistic data programmatically
Last edited by grhwood on 02 Jan 2014, 10:45, edited 1 time in total.
Re: how to access statistic data programmatically
This is not documented, but you can do as follows:
Then just use the auto-complete feature in your IDE to access the data you need. It should be self explanatory.
Cheers
Code: Select all
SFSStatsManager statsManager = SmartFoxServer.getInstance().getStatsManager().
Then just use the auto-complete feature in your IDE to access the data you need. It should be self explanatory.
Cheers
Who is online
Users browsing this forum: No registered users and 116 guests