Hi,
Using Ice is not easy, and conceive a good program neither...![]()
I explain you what I want to do, and I hope some advice![]()
It's about a mmorpg. I got a server. Inside I got a server class ( inherited from an Ice interface), which accept Player connexion, with bidirectionnal stuff.
I got a world class, containing vector of Zone objects ( piece of world), containing vector of people object.
The client program ask every second ( what is the time elapsed has no importance), to the server a list of people for a determined Zone.
1) Every people object have to have an Ice::Identity.
2) Client contacts Server object like for newConnexion to ask list of people object
3) Server object creates a vector of ID and send back to the client ( Ice method vector<people *> Myserver::returnlist(string zone, Current &)....)
2 mains questions :
1) people objects have to registered to an adapter? Each object must have an adapter?
2) How the client can contact an server object with only its Ice::Identity?
Thanks a lot

Reply With Quote
.
