27 $recipientChannel = $message->getChannel();
29 if ($message->getType() ===
'session') {
30 $response = new \fpoirotte\Pssht\Messages\CHANNEL\OPEN\CONFIRMATION(
32 $this->connection->allocateChannel($message),
37 $response = new \fpoirotte\Pssht\Messages\CHANNEL\OPEN\FAILURE(
39 \
fpoirotte\Pssht\Messages\CHANNEL\
OPEN\FAILURE::SSH_OPEN_UNKNOWN_CHANNEL_TYPE,
40 'No such channel type' 43 $transport->writeMessage($response);
handle($msgType,\fpoirotte\Pssht\Wire\Decoder $decoder,\fpoirotte\Pssht\Transport $transport, array &$context)
static unserialize(\fpoirotte\Pssht\Wire\Decoder $decoder)