Home Help Center

Creating a Glacier2 Session in an asynchronous way

dscardacidscardaci Member Diego ScardaciOrganization: TVBLOB SRLProject: routines to test an ICE backend system
For testing reason, my program needs to create and destroy a set of Glacier2 Sessions periodically.
I'm using the Ice Timer to schedule the connection and disconnection operations.
However, because I create the Glacier2 session in a synchronous way, my program doesn't guarantee the periodicity.

Does exist a way to create a Glacier2 Session asynchronously?

Thanks in advance,


  • matthewmatthew NL, CanadaMember Matthew NewhookOrganization: ZeroC, Inc.Project: Internet Communications Engine ✭✭✭
    Sure, that is no issue. Generally its simplest to use a thread to establish a Glacier2 session asynchronously since there are a number of steps involved. However, if you don't want to do that then you can certainly use a chain of AMI calls to do so. I suggest looking at the chat demo & articles for examples of how to do this. http://www.zeroc.com/chat/index.html
Sign In or Register to comment.