Connection.connectionClose()
DESCRIPTION
Close a connection.
Note: Odd name is to distinguish from AutoCloseable’s close() with very different semantics.
DECLARATION
void connectionClose()
THROWS EXCEPTIONS
NabtoRuntimeException:
- with error code
OPERATION_IN_PROGRESS
if another close is in progreess. NabtoRuntimeException:
- with error code
STOPPED
if the connection is closed or stopped or a parent object is stopped. NabtoRuntimeException:
- with error code
NOT_CONNECTED
if the connection is not established yet.