Connection()

DESCRIPTION

Connection API.

Connection instances represents a Nabto Edge Direct connection between a client and a device. The instance is used to create new reliable streams or CoAP sessions on top of a connection. The Connection object must be kept alive for the duration of all streams, tunnels, and CoAP sessions created from it.

DECLARATION

public interface Connection extends AutoCloseable