This method is called by the nCoAP framework when this {@link de.uniluebeck.itm.ncoap.application.server.webservice.Webservice} is removed from the{@link de.uniluebeck.itm.ncoap.application.server.CoapServerApplication} instance. One could e.g. try tocancel scheduled tasks if any. There might even be no need to do anything at all, i.e. implement the method with empty body.
Note: If this {@link de.uniluebeck.itm.ncoap.application.server.webservice.Webservice} uses the{@link java.util.concurrent.ScheduledExecutorService} returned by{@link de.uniluebeck.itm.ncoap.application.server.CoapServerApplication#getExecutor()} one MUST NOTterminate this {@link java.util.concurrent.ScheduledExecutorService} but only cancel scheduled tasks using there{@link java.util.concurrent.ScheduledFuture}.
|
|