Go Back   ZeroC Forums > Help Center

Reply
 
LinkBack Thread Tools Rate Thread Display Modes
  #1 (permalink)  
Old 03-19-2004
zhaiyl zhaiyl is offline
Registered User
 
 
Join Date: Mar 2004
Posts: 4
Client&Server

How can I implement a Server, which is also a Client. I mean, it can call an operation or send some data to the Client actively.
Reply With Quote
  #2 (permalink)  
Old 03-19-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
There is nothing special to do. You just invoke on a proxy in the server, as usual.

For a callback example, have a look at demo/Ice/callback.
Reply With Quote
  #3 (permalink)  
Old 03-19-2004
zhaiyl zhaiyl is offline
Registered User
 
 
Join Date: Mar 2004
Posts: 4
Thanks!

But I don't think it's actively.

You mean muti-threads?
Reply With Quote
  #4 (permalink)  
Old 03-19-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
I'm not sure I understand what you mean. Ice is inherently multi-threaded. However, you can use the main thread to call operations on proxies. Requests are dispatched in threads from the thread pool, and don't require the main thread.
Reply With Quote
  #5 (permalink)  
Old 03-19-2004
zhaiyl zhaiyl is offline
Registered User
 
 
Join Date: Mar 2004
Posts: 4
Thank you!

I'll think more about it.
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
Ice 2.1 client Ice 3.1 server Powell Trusler Help Center 7 09-28-2006 07:28 PM
Ice 3.1 client with an Ice 3.0.1 server? bartley Help Center 2 08-11-2006 01:21 PM
How can client know the status that client and server disconnceted? skyriver Help Center 2 06-08-2005 12:37 AM
How server initiatively send message to client, and client can responce to it? ouloba Help Center 3 11-26-2004 10:35 AM
how Server to ClientH alesio Help Center 1 02-17-2004 12:26 PM


All times are GMT -4. The time now is 11:36 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.