Class Net::SFTP::Protocol::Base
In: lib/net/sftp/protocol/base.rb
Parent: Object

The abstract superclass of the specific implementations for each supported SFTP protocol version. It implements general packet parsing logic, and provides a way for subclasses to send requests.

Methods

new   parse  

Included Modules

Net::SSH::Loggable Net::SFTP::Constants Net::SFTP::Constants::PacketTypes

Attributes

session  [R]  The SFTP session object that acts as client to this protocol instance

Public Class methods

Create a new instance of a protocol driver, servicing the given session.

Public Instance methods

Attept to parse the given packet. If the packet is of an unsupported type, an exception will be raised. Returns the parsed data as a hash (the keys in the hash are packet-type specific).

[Validate]