... | @@ -37,19 +37,20 @@ Copper will allow you to make any CoAP interaction interactively. |
... | @@ -37,19 +37,20 @@ Copper will allow you to make any CoAP interaction interactively. |
|
#### Client Side
|
|
#### Client Side
|
|

|
|

|
|
|
|
|
|
**CoapClient (interface):** describes interfaces that must be supported by a client
|
|
**CoapClient (interface):** describes interfaces that must be supported by a client
|
|
**Client:** individual implementation of a client application, implements CoapClient (interface)
|
|
**Client:** individual implementation of a client application, implements CoapClient (interface)
|
|
**ChannelManager:** manages channels
|
|
**ChannelManager:** manages channels
|
|
**Channel:** one channel represents a connection to one client
|
|
**Channel:** one channel represents a connection to one client
|
|
|
|
|
|
#### Server Side
|
|
#### Server Side
|
|

|
|

|
|
**Server:** individual implementation of a server application, creates CoapResourceServer and resources
|
|
|
|
**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.
|
|
**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)
|
|
**BasicCoapResource:** already implemented resource with basic functionality, implements CoapResource (interface)
|
|
|
|
**TemperatureResource:** individual resource, inherits from BasicCoapResource
|
|
**CoapServer (interface):** describes interfaces that must be supported by a resource server
|
|
**CoapServer (interface):** describes interfaces that must be supported by a resource server
|
|
|
|
**CoapResourceServer:** manages a list of resources, enables access of these resources from outside, implements CoapServer (interface)
|
|
|
|
**Server:** individual implementation of a server application, creates CoapResourceServer and resources
|
|
|
|
|
|
* ToDo on server side:
|
|
* ToDo on server side:
|
|
1. Create a new resource class TemperatureResource
|
|
1. Create a new resource class TemperatureResource
|
... | | ... | |