|
|
|
|||||
|
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 |
|
||||||
|
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. |
|
|||||
|
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 |
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
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 |