Class DataFeedResource
- java.lang.Object
-
- org.eclipse.californium.core.CoapResource
-
- io.patriot_framework.generator.controll.resources.DataFeedResource
-
- All Implemented Interfaces:
org.eclipse.californium.core.server.resources.Resource
public class DataFeedResource extends org.eclipse.californium.core.CoapResource
-
-
Constructor Summary
Constructors Constructor Description DataFeedResource(Sensor sensor)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
handleGET(org.eclipse.californium.core.server.resources.CoapExchange exchange)
void
handlePOST(org.eclipse.californium.core.server.resources.CoapExchange exchange)
-
Methods inherited from class org.eclipse.californium.core.CoapResource
add, add, add, addObserver, addObserveRelation, changed, changed, checkObserveRelation, clearAndNotifyObserveRelations, clearObserveRelations, createClient, createClient, createClient, delete, delete, delete, execute, executeAndWait, getAttributes, getChild, getChildren, getEndpoints, getExecutor, getName, getObserverCount, getParent, getPath, getURI, handleDELETE, handlePUT, handleRequest, isCachable, isObservable, isVisible, notifyObserverRelations, removeObserver, removeObserveRelation, setName, setObservable, setObserveType, setParent, setPath, setVisible
-
-
-
-
Constructor Detail
-
DataFeedResource
public DataFeedResource(Sensor sensor)
-
-
Method Detail
-
handleGET
public void handleGET(org.eclipse.californium.core.server.resources.CoapExchange exchange)
- Overrides:
handleGET
in classorg.eclipse.californium.core.CoapResource
-
handlePOST
public void handlePOST(org.eclipse.californium.core.server.resources.CoapExchange exchange)
- Overrides:
handlePOST
in classorg.eclipse.californium.core.CoapResource
-
-