Issue #270 has been reported by Philipp  Buluschek.

----------------------------------------
Bug #270: No retry limit when registering endpoint
http://zb4o.aaloa.org/redmine/issues/270

Author: Philipp  Buluschek
Status: New
Priority: Low
Assignee: 
Category: 
Target version: 
Has a patch: No
Has license agreement signed: No


In @AFLayer.createEndPoint(SenderIdentifier)@ the variable @retry@ is supposed 
to limit the number of retries registering an endpoint. The registration 
process should stop and fail with an Exception when no successful registration 
could be made after the given number of retries.

I believe, the following needs fixing:
1. The @retry@ variable is never incremented, so it doesn't do anything, in 
particular does not limit the retries.
2. @result@ should be checked for @null@ before calling @if( result.getStatus() 
!= 0 ){@ (if @null@, retry with the same endpoint, maybe wait a bit in between 
retries)



-- 
DO NOT ANSWER TO THIS E-MAIL ADDRESS, NO ONE WILL READ IT. PLEASE WRITE TO 
[email protected]
ZigBee 4 OSGi - Redmine E-Mail Notificatioon
You have received this notification because you have either subscribed to it, 
or are involved in it.
To change your notification preferences, please click here: 
http://zb4o.aaloa.org/redmine
_______________________________________________
Dev mailing list
[email protected]
http://zb4osgi.aaloa.org/mailman/listinfo/dev

Reply via email to