[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
Re: [leshan-dev] cancelling a queued request
|
Is there a particular reason why you want to be able to explicitly
cancel a request instead of e.g. just being able to set a TTL on the
request so that it "automatically" is removed from the queue if it
expires?
--
Mit freundlichen Grüßen / Best regards
Kai Hudalla
Chief Software Architect
Bosch Software Innovations GmbH
Schöneberger Ufer 89-91
10785 Berlin
GERMANY
www.bosch-si.com
Registered office: Berlin, Register court: Amtsgericht Charlottenburg,
HRB 148411 B;
Executives: Dr.-Ing. Rainer Kallenbach, Michael Hahn
On Fr, 2016-07-22 at 14:54 +0000, Azhagappan Balasubramanian
(INST/ECS4) wrote:
> Hello,
>
> Now that we have the concept of requestTicket associated with each
> request and response in Leshan, I have a specific request. I would
> like to create a PR to add cancelRequest(requestTicket) method in
> LwM2mRequestSender interface.
>
> I checked the LWM2M spec and it doesn’t say anything or prohibits
> from cancelling a queued message. Yes of course with cancellation,
> the sequence of messages queued for the LWM2M client is effectively
> altered, which in my opinion, is exactly what the application layer
> would expect if it invokes this method. Also there is one potential
> risk that a message even though cancelled on LWM2M/CoAP level, could
> already be delivered or on the wire to the LWM2M client in which case
> the response would be ignored.
>
> Is there anyone in the community against such a PR? If yes, I would
> be glad to hear your side of the argument. Thanks.
> Regards,
> Bala
>
> _______________________________________________
> leshan-dev mailing list
> leshan-dev@xxxxxxxxxxx
> To change your delivery options, retrieve your password, or
> unsubscribe from this list, visit
> https://dev.eclipse.org/mailman/listinfo/leshan-dev