use of org.eclipse.californium.core.CoapResource in project camel by apache.
the class CoAPConsumer method doStop.
@Override
protected void doStop() throws Exception {
for (CoapResource r : resources) {
r.getParent().delete(r);
}
resources.clear();
super.doStop();
}
use of org.eclipse.californium.core.CoapResource in project thingsboard by thingsboard.
the class CoapTransportService method createResources.
private void createResources() {
CoapResource api = new CoapResource(API);
api.add(new CoapTransportResource(processor, authService, adaptor, V1, timeout, quotaService));
server.add(api);
}
Aggregations