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

Public Member Functions

 __construct (\fpoirotte\Pssht\Handlers\USERAUTH\REQUEST $methods)
 
 handle ($msgType,\fpoirotte\Pssht\Wire\Decoder $decoder,\fpoirotte\Pssht\Transport $transport, array &$context)
 

Protected Attributes

 $userAuthRequestHandler
 User authentication request handler.
 

Detailed Description

Handler for SSH_MSG_SERVICE_REQUEST messages.

Definition at line 19 of file REQUEST.php.

Constructor & Destructor Documentation

fpoirotte\Pssht\Handlers\SERVICE\REQUEST::__construct ( \fpoirotte\Pssht\Handlers\USERAUTH\REQUEST  $methods)

Construct a new handler for SSH_MSG_SERVICE_REQUEST messages.

Parameters
fpoirotte::Pssht::Handlers::USERAUTH::REQUEST$methodsUser authentication request handler.

Definition at line 30 of file REQUEST.php.

Member Function Documentation

fpoirotte\Pssht\Handlers\SERVICE\REQUEST::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 36 of file REQUEST.php.

References fpoirotte\Pssht\Messages\USERAUTH\REQUEST\Base\getMessageId(), fpoirotte\Pssht\Messages\DISCONNECT\SSH_DISCONNECT_SERVICE_NOT_AVAILABLE, and fpoirotte\Pssht\Messages\SERVICE\Base\unserialize().


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