Admin message
Gitlab Update from 18.6.1 to 18.6.2 runs on 2025-12-17
Changes
Page history
bjoern.butzin created page: home
authored
Sep 09, 2016
by
Björn Butzin
Hide whitespace changes
Inline
Side-by-side
home.markdown
View page @
2b2b83d6
...
...
@@ -39,7 +39,7 @@ Client Side
**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)
**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
...
...
@@ -63,7 +63,7 @@ Client Side
## 4. Import of prepared project into Eclipse
You can find the required files in our repository at
[
file
](
ws4d/jcoap/tree/master/ws4d-jcoap-handsOn
)
You can find the required files in our repository at
[
https://gitlab.amd.e-technik.uni-rostock.de/
ws4d/jcoap/tree/master/ws4d-jcoap-handsOn
][]
1.
File > Import
2.
General > Existing Projects ...
...
...
@@ -145,7 +145,7 @@ You can find the required files in our repository at [file](ws4d/jcoap/tree/mast
*
A client must implement CoapClient interface
`public class Client implements CoapClient {...}`
*
A CoapChannelManager is used to manage different connections and to establish a connection to a server
`channelManager = BasicCoapChannelManager.getInstance();`
`channelManager = BasicCoapChannelManager.getInstance();`
`clientChannel = channelManager.connect(CoapClient client,InetAddress serverIP, int serverPort);`
#### 2. Create a CoapRequest & add some Options (Client.java, FIXME 6-8):
...
...
...
...