Go Back   ZeroC Forums > Help Center

Reply
 
LinkBack Thread Tools Rate Thread Display Modes
  #1 (permalink)  
Old 04-26-2004
frostzero frostzero is offline
Registered User
 
 
Join Date: Apr 2004
Posts: 5
Question Ice Client server question?

Hi,

I am pretty new with Ice ...just had a couple questions for you experts out there.. (I have read a lot of the docs..there is just so much to learn!)

what would be the best way to implement multiple game Players connecting to an Ice Server?

I would like to be able to handle 100-1000 players connecting to the server.. and they would just interact with a game Map..using functions..

also how do I dynamically create instances of the player objects so each player gets his/her own Player object when they connect? just need a rough Idea...

Any help would be appreciated!

THX

-frostzero
Reply With Quote
  #2 (permalink)  
Old 04-27-2004
level level is offline
Registered User
 
 
Join Date: Feb 2004
Location: China
Posts: 71
Do you know "Object Factory"?
Reply With Quote
  #3 (permalink)  
Old 04-27-2004
frostzero frostzero is offline
Registered User
 
 
Join Date: Apr 2004
Posts: 5
I think so..do I need to set that up for my Player Interface? the PlayerI (implementation) class or is that for straight classes only(non interface)?

I am trying to get it..

What I am doing so far is having the client connect to a known PlayerManager interface. Then using a Connect() function I create a "new" Player Object(also an interface with a struct for data in the implementation). Then I Adapter->add this new object and return the proxy as a string in an out param to the client for reference.

then I remove the Player object upon disconnect..

Am I missing something?

-fz
Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Question about client connecting with the server that is on deferent network sections WangChen Help Center 3 10-12-2006 03:54 AM
one question: c# is client, c++ is server tianfu Help Center 1 11-16-2005 05:07 AM
How can client know the status that client and server disconnceted? skyriver Help Center 2 06-08-2005 12:37 AM
A question about Client and Server program in different host ehero Help Center 1 03-24-2005 05:57 AM
How server initiatively send message to client, and client can responce to it? ouloba Help Center 3 11-26-2004 10:35 AM


All times are GMT -4. The time now is 08:51 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.0.0
(c) 2008 ZeroC, Inc.