- return false
-}
-
-// This function sets the give id as confirmed in the register
-func (r *Registry) setSubscriptionToConfirmed(sn uint16) {
- r.mutex.Lock()
- defer r.mutex.Unlock()
- r.register[sn].Confirmed()
-}
-
-//This function sets the given id as unused in the register
-func (r *Registry) setSubscriptionToUnConfirmed(sn uint16) {
- r.mutex.Lock()
- defer r.mutex.Unlock()
- r.register[sn].UnConfirmed()