/** * Notifies all CoAP clients that have established an observe relation with * this resource that the state has changed by reprocessing their original * request that has established the relation. The notification is done by * the executor of this resource or on the executor of its parent or * transitively ancestor. If no ancestor defines its own executor, the * thread that has called this method performs the notification. * * @see #changed(ObserveRelationFilter) */ public void changed() { changed(null); }
/** * Notifies all CoAP clients that have established an observe relation with * this resource that the state has changed by reprocessing their original * request that has established the relation. The notification is done by * the executor of this resource or on the executor of its parent or * transitively ancestor. If no ancestor defines its own executor, the * thread that has called this method performs the notification. * * @see #changed(ObserveRelationFilter) */ public void changed() { changed(null); }
@Override public void changed() { prepareResponse(); super.changed(); }