Class: Net::SSH::Transport::OutgoingPacketStream

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

Handles the compression and encryption of outgoing packets.

### Methods

new send set_algorithms

### Public Class methods

new( ciphers, hmacs, compressors )

Create a new OutgoingPacketStream.

### Public Instance methods

send( payload )

Send the given payload over the socket, after (possibly) compressing and encrypting it. The payload is converted to a string (using to_s) before being manipulated.

set_algorithms( cipher, hmac, compressor )

Set the cipher, mac, and compressor to the given values.

[Validate]