Server discovery

CoAP has provisions for server discovery. The Mule CoAP Client Connector has two message-processors to use these.

The Ping message-processor issues a ping request on a CoAP resource. The processor returns the Boolean true when the server has acknowledged the ping, otherwise false is returned.

The Discover message-processor requests the list of resources available on a CoAP server. The message-processor returns a collection of Weblink ( org.eclipse.californium.core.WebLink ) objects.