TcpTunnel.stop()

DESCRIPTION

Stop this tunnel. Stop can be used to cancel async functions like open and close. But the tunnel cannot be used after it has been stopped. So you cannot call open, then stop and then resume the open again.

DECLARATION

     public func stop()