Go Back   ZeroC Forums > Help Center

Reply
 
LinkBack Thread Tools Rate Thread Display Modes
  #1 (permalink)  
Old 09-28-2004
Baloo Baloo is offline
Registered User
 
 
Join Date: Sep 2004
Location: Hungary (one joke and you're dead)
Posts: 5
Calling methods of a client from the server

Does anyone know a simple way to call a method in a class of a client? More precisely, I'd like the server to call several clients' Update() function, but after browsing through the manual I still have no idea how to do it.

Thanks in advance,

Baloo
Reply With Quote
  #2 (permalink)  
Old 09-28-2004
marc's Avatar
marc marc is offline
ZeroC Staff
 
Name: Marc Laukien
Organization: ZeroC, Inc.
Project: The Internet Communications Engine
 
Join Date: Feb 2003
Location: Florida
Posts: 1,781
Your client has to implement an Ice object with such an update method. By doing so, your client also becomes a server (from the Ice perspective). You can then pass a proxy to this Ice object to the server, and the server calls the update method on this proxy. For an example, have a look at demo/Ice/callback.
Reply With Quote
  #3 (permalink)  
Old 09-28-2004
Baloo Baloo is offline
Registered User
 
 
Join Date: Sep 2004
Location: Hungary (one joke and you're dead)
Posts: 5
Thanks. I should've looked at the demos first
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
Are client invocations dispatched in the calling thread? rhochmuth Help Center 5 02-06-2006 11:26 AM
Calling proxy methods in a python server jeinhorn Help Center 2 10-04-2005 10:30 AM
How can client know the status that client and server disconnceted? skyriver Help Center 2 06-08-2005 12:37 AM
Local or server private methods dashie Help Center 6 12-22-2004 03:31 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:32 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.