Server's zone discovery

Post here all your questions related with SmartFoxServer Java API

Moderators: Bax, Lapo, rjgtav

Server's zone discovery

Postby eyal » 07 Dec 2009, 14:03

Hi,
How can Java client knows wwhich zones are available on a SmartFox server?
Thanks,
Eyal.
eyal
 
Posts: 35
Joined: 29 Nov 2009, 11:18

Postby Lapo » 10 Dec 2009, 08:42

It can't.
Each Zone normally hosts a different application and in general it is not a good idea to let the server publicly supply a list of all running applications, for security reasons.

Normally the Zone name for a client is not dynamic data, in other words it's a constant, something that doesn't change.

If, for any reason, you need to access a list of Zones before logging in you could store these values in an external xml file that the client loads at startup

hope it helps
Lapo
--
gotoAndPlay()
...addicted to flash games
User avatar
Lapo
Site Admin
 
Posts: 15305
Joined: 21 Mar 2005, 09:50
Location: Italy


Return to Java2SE / Android Client API

Who is online

Users browsing this forum: No registered users and 1 guest