Results 1 to 3 of 3

Thread: Question about Glacier2

  1. #1
    davidcr1983 is offline Registered User
    Name: David Vallejo
    Organization: University of Castilla-La Mancha (Spain)
    Project: Intelligent Surveillance System
    Join Date
    Jul 2005
    Location
    Ciudad Real (Spain)
    Posts
    44

    Question about Glacier2

    Hello!!

    I have seen in the examples of Glacier2 that always one of the arguments in the request from the client to the server is a proxy for a callback object in the client. Currently, I am using stringfied proxies for contact with an agent (this is my first application with Ice), and my question is if I can use the connection between the client (agent) and the server so that the server can use it to do a request to the client, that is, to create a bi-directional connection.

    On the other hand, do you recommend me another way of doing this scenario? (Perhaps something similar to the callback example?)

    Thank you.
    Full name: David Vallejo Fernández
    University of Castilla-La Mancha (Spain)
    ICE Project: basic-fipa-multiagentsystem

  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
    I'm not sure if I really understand your question. Are you asking if you can use stringified proxies instead of regular proxies for callbacks? You certainly can, but it is not recommended. See:

    http://www.zeroc.com/faq/passingProxies.html

    Also, if you use Glacier2, you will always have a bi-directional connection from your client to Glacier2. Your client will not open a connection to your server directly, nor vice versa.

    As an aside, you'll find many examples for how to use Glacier2 in various issues of our newsletter Connections.
    Last edited by marc; 08-10-2006 at 04:01 PM.

  3. #3
    davidcr1983 is offline Registered User
    Name: David Vallejo
    Organization: University of Castilla-La Mancha (Spain)
    Project: Intelligent Surveillance System
    Join Date
    Jul 2005
    Location
    Ciudad Real (Spain)
    Posts
    44
    Yes, that was my question. Thank for your answers, I will follow your advices.

    Thank you again,
    David.
    Full name: David Vallejo Fernández
    University of Castilla-La Mancha (Spain)
    ICE Project: basic-fipa-multiagentsystem

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Question about Glacier2
    By shoulder in forum Help Center
    Replies: 5
    Last Post: 07-03-2008, 08:09 AM
  2. IceStorm Glacier2 Question
    By bigtim in forum Help Center
    Replies: 10
    Last Post: 11-05-2007, 03:16 PM
  3. Glacier2 routedproxy question
    By xdm in forum Help Center
    Replies: 1
    Last Post: 01-05-2006, 11:47 AM
  4. IcePack Query and Glacier2 question
    By aerowyn in forum Help Center
    Replies: 6
    Last Post: 10-16-2005, 02:15 AM
  5. Question about Glacier2!
    By JaneShang in forum Help Center
    Replies: 2
    Last Post: 06-16-2005, 02:47 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
  •