Class: Net::SSH::Transport::IncomingPacketStream

Class | Net::SSH::Transport::IncomingPacketStream
In: | lib/net/ssh/transport/packet-stream.rb
Parent: | PacketStream

Handles the decompression and dencryption of incoming packets.

### Methods

get new set_algorithms

### Attributes

buffers | [W] | A handle to the buffer factory to use when creating buffers
log | [W] | A handle to the logger instance to use for writing log messages

### Public Class methods

new( ciphers, hmacs, decompressors )

Create a new IncomingPacketStream.

### Public Instance methods

get()

Retrieve the next packet from the string, after (possibly) decrypting and decompressing it. The packet is returned as a reader buffer.

set_algorithms( cipher, mac, decompressor )

Set the cipher, mac, and decompressor algorithms to the given values.

[Validate]