TcpTunnel.close()

DESCRIPTION

Close this tunnel. Blocks until the tunnel is closed.

DECLARATION

    public func close() throws 

THROWS ERRORS

INVALID_STATE:
if the tunnel is not open.