pssht  latest
SSH server library written in PHP
fpoirotte\Pssht\Handlers\NEWKEYS Class Reference
+ Inheritance diagram for fpoirotte\Pssht\Handlers\NEWKEYS:

Public Member Functions

 handle ($msgType,\fpoirotte\Pssht\Wire\Decoder $decoder,\fpoirotte\Pssht\Transport $transport, array &$context)
 

Detailed Description

Handler for SSH_MSG_NEWKEYS messages.

Definition at line 19 of file NEWKEYS.php.

Member Function Documentation

fpoirotte\Pssht\Handlers\NEWKEYS::handle (   $msgType,
\fpoirotte\Pssht\Wire\Decoder  $decoder,
\fpoirotte\Pssht\Transport  $transport,
array &  $context 
)

Handle an SSH message.

Parameters
int$msgTypeMessage identifier.
fpoirotte::Pssht::Wire::Decoder$decoderDecoder for the message.
fpoirotte::Pssht::Transport$transportTransport layer the message was received from.
array$contextContext for the SSH connection.

Implements fpoirotte\Pssht\Handlers\HandlerInterface.

Definition at line 22 of file NEWKEYS.php.

References fpoirotte\Pssht\Compression\CompressionInterface\MODE_COMPRESS, and fpoirotte\Pssht\Compression\CompressionInterface\MODE_UNCOMPRESS.


The documentation for this class was generated from the following file: