|
|
|
|||||
|
Callback and Glacier Example?
Hi,
I am trying to get the demo/callback example to work via Glacier as described in the manual. I can not get it to work Does anyone have sample configs?I continually get... ./client: Outgoing.cpp:293: Ice::ObjectNotExistException: object does not exist identity: Glacier/router facet: operation: getClientProxy Will IceStorm work via glacier too? My application needs to support Sever to Client callbacks....but my clients maybe behind firewall. As I understand it Glacier is required to get the server side to re-use the client connection.....did I understand that correctly? Any other way to do this?
__________________
-- Michael |
|
|||||
|
Thanks for the tips. I followed the example from the manual...is uses port 8000 instead of 10005 to configure the router. And then I was using glacierstarter when I needed glacierrouter. All working as expected now. But I have another question
![]() The documentation indicates that if I want to use callbacks I will need a seperate instance of glacierrouter for each client. Is that true? Is it really feasible to have one router for each client....say 3000 clients at a time? If I am just using two-way calls (no callback), but the twoway calls do return values and have output arguments....do I still need individual glacier instances...or will one do? Thanks for the help.
__________________
-- Michael |
|
||||||
|
Quote:
Depending on how many machines will be running the routers and depending on how the operating system scales to a high number of processes, this should work. If it doesn't scale, another solution would be to write your own router service (the Ice core provides all the hooks to do this). Quote:
)?Benoit. |
|
|||||
|
Quote:
Another question....does AMI re-use the client connection or does the server connect to the client? What about AMI connecting to a AMD server? Sorry....just trying to understand everything here. Quote:
One other question....I was thinking of using IceStorm for the chat system....publish/subscribe. I am guessing that uses server side callbacks?
__________________
-- Michael Last edited by feline : 03-22-2004 at 04:44 PM. |
|
||||||
|
Quote:
.Quote:
Note that AMI and AMD have nothing to do with callbacks (at least not in the sense we've been discussing so far). It won't help you to send callbacks from your server to your clients. AMI will just allow you to make a request on a server asynchronously. Quote:
Quote:
Benoit. |
![]() |
| 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 |
| Callback on legacy client without callback support causes deadlock? | timeguest | Help Center | 1 | 07-30-2005 08:12 AM |
| Question about Glacier.Router.Client.Endpoints in Glacier! | rc_hz | Help Center | 4 | 11-21-2004 11:22 PM |
| Glacier problem | fengxb | Help Center | 3 | 10-26-2004 10:10 PM |
| The "callback" string in the callback demo | catalin | Help Center | 2 | 08-27-2004 01:53 AM |
| Glacier Filtering | StuartA | Help Center | 9 | 05-04-2004 08:51 AM |