Results 1 to 2 of 2

Thread: Creating a Glacier2 Session in an asynchronous way

  1. #1
    dscardaci is offline Registered User
    Name: Diego Scardaci
    Organization: TVBLOB SRL
    Project: routines to test an ICE backend system
    Join Date
    Nov 2008
    Posts
    3

    Creating a Glacier2 Session in an asynchronous way

    Hello,
    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,
    Diego

  2. #2
    matthew's Avatar
    matthew is offline ZeroC Staff
    Name: Matthew Newhook
    Organization: ZeroC, Inc.
    Project: Internet Communications Engine
    Join Date
    Feb 2003
    Location
    NL, Canada
    Posts
    1,458
    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

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Glacier2 Session Cleanup
    By ngambek2003 in forum Help Center
    Replies: 11
    Last Post: 10-12-2009, 02:53 PM
  2. Replies: 6
    Last Post: 03-14-2008, 10:38 PM
  3. Glacier2 Session
    By omid in forum Help Center
    Replies: 0
    Last Post: 03-14-2008, 02:33 PM
  4. Glacier2 Per Session Context
    By paolo in forum Help Center
    Replies: 6
    Last Post: 09-20-2007, 09:17 AM
  5. Replies: 1
    Last Post: 02-04-2005, 06:12 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •