Method: Net::SSH::Connection::Channel#do_close

Defined in:
lib/net/ssh/connection/channel.rb

#do_closeObject

Invokes the #on_close callback when the server closes a channel. The channel is the only argument.



589
590
591
# File 'lib/net/ssh/connection/channel.rb', line 589

def do_close
  @on_close.call(self) if @on_close
end