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_PROGRESSif another close is in progreess. NabtoRuntimeException:- with error code
STOPPEDif the connection is closed or stopped or a parent object is stopped. NabtoRuntimeException:- with error code
NOT_CONNECTEDif the connection is not established yet.