Class | Net::SSH::Service::Forward::LocalNetworkHandler |
In: |
lib/net/ssh/service/forward/local-network-handler.rb
|
Parent: | Object |
This is a utility class used internally by Forward::Driver. It manages the network server instance for each locally forwarded port, and is passed as the handler to Driver#direct_channel by Forward::Driver#forward_local. Other clients may desire to extend this class and pass the modified class to Forward::Driver#direct_channel for their own purposes, but in general this class will rarely be used outside of Forward::Driver.
Invoked when the remote end of the channel will no longer be sending data. It may still receive data, however.
Invoked when data is recieved from the channel. This method just sends the data to the client connection.