... | ... | @@ -168,9 +168,9 @@ clientChannel.sendMessage(request); |
|
|
#### 4. Wait for CoapResponse & Print the CoapResponse on the console
|
|
|
* A client has some callbacks that are invoked, when the corresponding event occurs
|
|
|
```java
|
|
|
public void onConnectionFailed(...)
|
|
|
public void onResponse(...) // = Unicast
|
|
|
public void onMCResponse(...) // MC = Multicast
|
|
|
public void onConnectionFailed(...);
|
|
|
public void onResponse(...); // = Unicast
|
|
|
public void onMCResponse(...); // MC = Multicast
|
|
|
```
|
|
|
|
|
|
* Run Server: select Server.java and click on *[Run » Run]* in the Menu bar
|
... | ... | |