Connection.connect()

DESCRIPTION

Establish a connection.

This function blocks until a connection is established or an exception is thrown.

DECLARATION

    void connect()

THROWS EXCEPTIONS

NabtoRuntimeException:
with error code STOPPED if the client instance was stopped
NabtoNoChannelsException:
if a connection could not be established.