**TemperatureResource:** individual resource, inherits from BasicCoapResource
**BasicCoapResource:** already implemented resource with basic functionality, implements CoapResource (interface)
**CoapResource (interface):** describes interfaces that must be supported by each resource.
**CoapResourceServer:** manages a list of resources, enables access of these resources from outside, implements CoapServer (interface), uses ChannelManager for connection management.
**CoapResourceServer:** manages a list of resources, enables access of these resources from outside, implements CoapServer (interface)
**CoapServer (interface):** describes interfaces that must be supported by a resource server
**ChannelManager:** manages channels
**Channel:** one channel represents a connection to one client
...
...
@@ -106,8 +106,7 @@ You can find the required files in our repository at [file](ws4d/jcoap/tree/mast
* ->So we implemented TemperatureResource wich extends BasicCoapResource with:
* A constructor to initialize the resource and disallow POST, PUT and DELETE requests
* Two get() Methods:
* Get a list of accepted media types [& query parameters]
* Returns a `byte[ ]` together with its media type
* Get a list of accepted media types [& query parameters] which returns a `byte[ ]` together with its media type
* And the `getResourceType()` method
* Wich returns a description string of the resource
...
...
@@ -199,10 +198,10 @@ You can find the required files in our repository at [file](ws4d/jcoap/tree/mast