Results 1 to 4 of 4

Thread: How server initiatively send message to client, and client can responce to it?

  1. #1
    ouloba is offline Registered User
    Join Date
    Sep 2004
    Posts
    19

    How server initiatively send message to client, and client can responce to it?

    I want to distribute server compute result datas to all clients. How server initiatively send data to client, and client can responce to it, but not by callback proxy method?
    Last edited by ouloba; 11-25-2004 at 10:21 PM.

  2. #2
    marc's Avatar
    marc is offline ZeroC Staff
    Name: Marc Laukien
    Organization: ZeroC, Inc.
    Project: The Internet Communications Engine
    Join Date
    Feb 2003
    Location
    Florida
    Posts
    1,860
    In order for your server to send a request to a client, you must implement an Ice object in your client (which makes your client also a server from the Ice perspective), pass a proxy to this Ice object to your server, and have the server invoke on this proxy. This is commonly referred to as callback, but in fact it's just a regular call. There is no other way for the server to invoke an operation on a client.

  3. #3
    ouloba is offline Registered User
    Join Date
    Sep 2004
    Posts
    19

    thanks

    How to know which client to invoke server function, and the client's remote address(IP and Port).

  4. #4
    marc's Avatar
    marc is offline ZeroC Staff
    Name: Marc Laukien
    Organization: ZeroC, Inc.
    Project: The Internet Communications Engine
    Join Date
    Feb 2003
    Location
    Florida
    Posts
    1,860
    Pass a proxy from the client to the server, on which the server invokes.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Replies: 6
    Last Post: 08-15-2007, 02:08 AM
  2. Replies: 5
    Last Post: 06-22-2006, 05:09 AM
  3. send an object client -> server
    By arnaud in forum Help Center
    Replies: 3
    Last Post: 02-23-2006, 07:29 PM
  4. how can i make server send string to client
    By jerry_cym in forum Help Center
    Replies: 2
    Last Post: 02-07-2006, 04:46 AM
  5. How to send data from server to client?
    By kane in forum Help Center
    Replies: 4
    Last Post: 10-26-2004, 08:33 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •