Sanjay
------------------------------------------------------------------------
*From:* ajay.kasam at wipro.com [mailto:ajay.kasam at wipro.com]
*Sent:* Tuesday, November 20, 2007 4:08 AM
*To:* simple at ietf.org
*Subject:* RE: [Simple] Subscription state machine in RFC 3857
Yeah, you are right, thanks for response.
In pending state (i.e after receiving 202 accepted response for the
SUBSCRIBE), does the client need to refresh the subscription??
------------------------------------------------------------------------
*From:* Sanjay Sinha (sanjsinh) [mailto:sanjsinh at cisco.com]
*Sent:* Tuesday, November 20, 2007 2:01 AM
*To:* Ajay Kumar kasam (WT01 - MCE-Mobile Devices); simple at ietf.org
*Subject:* RE: [Simple] Subscription state machine in RFC 3857
Pl. see inline ..
------------------------------------------------------------------------
*From:* ajay.kasam at wipro.com [mailto:ajay.kasam at wipro.com]
*Sent:* Monday, November 19, 2007 3:50 AM
*To:* simple at ietf.org
*Subject:* [Simple] Subscription state machine in RFC 3857
Hi,
This is regarding the Subscription state machine described in
Section 4.7.1 of RFC 3857.
This diagram show events like "approved, giveup, rejected,
noresource" change subscription state from "waiting" to
"terminated".
How can event "approved" make the subscription state change from
"waiting" to "terminated"??
[Sanjay Sinha (sanjsinh)] Waiting state is when an unauthorized
subscription expires waiting for authorization. When the server
grants authorization for a subscription and if the subscription
has expired, then it has to move to terminated state.
Another thing missing in the Subscription state machine is that
there is no event mentioned for subscription state changing from
"waiting" to "active".
[Sanjay Sinha (sanjsinh)] Subscription state can not move from
waiting to active since it has already expired and hence was in
waiting state to begin with. If server has authorized the
subscription and so it moved from waiting to terminated state,
then next time when the watcher sends another subscription for
that user, it will remember the previous authorization
and will transition from pending to active state.
Sanjay
Regards
Ajay Kasam
------------------------------------------------------------------------
_______________________________________________
Simple mailing list
Simple at ietf.org
https://www1.ietf.org/mailman/listinfo/simple