[reSIProcate] How to distinguish between different Session Handles
- From: "Kovar, William \(Bill\)" <bkovar@xxxxxxxxx>
- Date: Tue, 5 Sep 2006 13:54:52 -0400
All,
I looking for a way
to distinguish between the following handle types:
ServerInviteSession
ClientInviteSession
InviteSession
I understand how
they are created, but I also persist these handles, by getId(), in a list. When
retrieving one of these handles, I'm not sure what is the best way to
distinguish which of the 3 handle types I'm looking at.
Should I be using
isConnected(), IsEarly() and isAccepted() and if so which handle corresponds to
which. Or is there some other way?
Thanks!!
Bill Kovar
Avaya Inc.