Class Net::SSH::Service::Forward::RemoteNetworkHandler
In: lib/net/ssh/service/forward/remote-network-handler.rb
Parent: Object

A helper class for managing ports forwarded from a remote host to the local host.

Methods

new   on_close   on_eof   on_open   on_receive  

Public Class methods

Instantiate a new RemoteNetworkHandler instance that will forward data to the given local port and host address.

Public Instance methods

Invoked when the channel is closed.

Invoked when the channel indicates that the end is near.

Opens a new socket to the local host and port given when the handler was created, and forwards data from the channel to that connection.

Invoked when data is received over the channel.

[Validate]