Home Help Center

Ice-touch 1.2.1 Glacier2 SessionHelper

Hello,

we are developing an iphone application using Ice,
the application communicate using Glacier
we have seen in the release notes of Ice_Touch 1.2.0
Added a C++ implementation of Glacier2::SessionHelper, which simplifies the use of Glacier2 in graphical applications.

2 questions:
1) are you suggest us to use SessionHelper to create Glacier sessions ?
2) is there any example of using SessionHelper in objective-c?

Thanks,
Moshe Hakimian

Comments

  • benoitbenoit Rennes, FranceAdministrators, ZeroC Staff Benoit FoucherOrganization: ZeroC, Inc.Project: Ice ZeroC Staff
    Hi,

    Yes, we recommend using the the Glacier2 session helper in C++. It isn't supported yet in Objective-C however so you will have to manage the session by yourself in Objective-C. The iPhone chat demo (in the demo/iPhone/chat directory) provides an example of how to create and maintain a Glacier2 session.

    Cheers,
    Benoit.
  • SystemSystem Member
    Ice-touch 1.2.1 Glacier2 SessionHelper

    Hello Guys,

    we are still trying to add "SessionHelper" to our iphone application implementation but we didn't succeed to combine between SesionHelper c++ code and our objective-c code
    do you have any example of using SessionHelper in Xcode?

    Thanks,
    Moshe
  • benoitbenoit Rennes, FranceAdministrators, ZeroC Staff Benoit FoucherOrganization: ZeroC, Inc.Project: Ice ZeroC Staff
    Hi,

    We don't have such a demo and I don't recommend using the C++ session helper with an Objective-C application if you use the Objective-C IceTouch SDK. It's better to either port the C++ session helper to Objective-C or manage the Glacier2 session yourself like the demo/iPhone/chat demo is doing.

    Cheers,
    Benoit.
Sign In or Register to comment.