... | ... | @@ -146,7 +146,7 @@ resourceServer.start(); // equals port = CoapConstants.COAP_DEFAULT_PORT |
|
|
public class Client implements CoapClient {...}
|
|
|
```
|
|
|
* A CoapChannelManager is used to manage different connections and to establish a connection to a server
|
|
|
```java`
|
|
|
```java
|
|
|
channelManager = BasicCoapChannelManager.getInstance();
|
|
|
clientChannel = channelManager.connect(CoapClient client,InetAddress serverIP, int serverPort);
|
|
|
```
|
... | ... | |