[reSIProcate] How to distinguish between different Session Handles

Kovar, William (Bill) bkovar at avaya.com
Tue Sep 5 12:54:52 CDT 2006


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.
bkovar at avaya.com
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://list.resiprocate.org/pipermail/resiprocate-devel/attachments/20060905/9f7ad81a/attachment.htm>


More information about the resiprocate-devel mailing list