TcpTunnel.tunnelCloseCallback()

DESCRIPTION

Close a tunnel without blocking.

Note: Odd name is to distinguish from AutoCloseable’s close() with very different semantics.

DECLARATION

    public void tunnelCloseCallback(NabtoCallback callback)

PARAMETERS

callback:
The callback that will be run once the tunnel is closed.