Go Back   ZeroC Forums > Help Center

Reply
 
LinkBack Thread Tools Rate Thread Display Modes
  #1 (permalink)  
Old 08-10-2006
davidcr1983 davidcr1983 is offline
Registered User
 
Name: David Vallejo Fernández
Organization: Universidad de Castilla-La Mancha
Project: basic-fipa-multiagentsystem
 
Join Date: Jul 2005
Location: Ciudad Real (Spain)
Posts: 41
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
Reply With Quote
  #2 (permalink)  
Old 08-10-2006
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 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 05:01 PM.
Reply With Quote
  #3 (permalink)  
Old 08-10-2006
davidcr1983 davidcr1983 is offline
Registered User
 
Name: David Vallejo Fernández
Organization: Universidad de Castilla-La Mancha
Project: basic-fipa-multiagentsystem
 
Join Date: Jul 2005
Location: Ciudad Real (Spain)
Posts: 41
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
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 Glacier2 shoulder Help Center 5 07-03-2008 09:09 AM
Question about Glacier2.Client.SleepTime rc_hz Comments 6 11-16-2006 07:21 PM
Session Management with Glacier2 question 123w456t Help Center 1 03-29-2006 06:46 PM
Glacier2 routedproxy question xdm Help Center 1 01-05-2006 12:47 PM
Question about Glacier2! JaneShang Help Center 2 06-16-2005 03:47 AM


All times are GMT -4. The time now is 11:05 PM.


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