pssht
latest
SSH server library written in PHP
|
Public Member Functions | |
__construct ($channel, $type, $wantReply, $term, $widthInCols, $heightInRows, $widthInPixels, $heightInPixels, $modes) | |
serialize (\fpoirotte\Pssht\Wire\Encoder $encoder) | |
![]() | |
__construct ($channel, $type, $wantReply) | |
getType () | |
serialize (\fpoirotte\Pssht\Wire\Encoder $encoder) | |
wantsReply () | |
![]() | |
__construct ($channel) | |
getChannel () | |
serialize (\fpoirotte\Pssht\Wire\Encoder $encoder) | |
Static Protected Member Functions | |
static | unserializeSub (\fpoirotte\Pssht\Wire\Decoder $decoder) |
![]() | |
static | unserializeSub (\fpoirotte\Pssht\Wire\Decoder $decoder) |
Protected Attributes | |
$heightInPixels | |
Terminal height in pixels. | |
$heightInRows | |
Terminal height in rows. | |
$modes | |
Encoded terminal modes. | |
$term | |
Terminal to emulate. | |
$widthInCols | |
Terminal width in characters. | |
$widthInPixels | |
Terminal width in pixels. | |
![]() | |
$type | |
Message type. | |
$wantReply | |
Whether the sender of the message wants a reply or not. | |
![]() | |
$channel | |
Local channel identifier. | |
Additional Inherited Members | |
![]() | |
static | getMessageId () |
static | unserialize (\fpoirotte\Pssht\Wire\Decoder $decoder) |
![]() | |
static | unserialize (\fpoirotte\Pssht\Wire\Decoder $decoder) |
SSH_MSG_CHANNEL_REQUEST message (RFC 4254) for the "pty-req" request type.
Definition at line 18 of file PtyReq.php.
fpoirotte\Pssht\Messages\CHANNEL\REQUEST\PtyReq::__construct | ( | $channel, | |
$type, | |||
$wantReply, | |||
$term, | |||
$widthInCols, | |||
$heightInRows, | |||
$widthInPixels, | |||
$heightInPixels, | |||
$modes | |||
) |
Construct a new "pty-req" SSH_MSG_CHANNEL_REQUEST message.
Abstract constructor for a channel-related SSH message.
int | $channel | Local channel identifier. |
string | $type | Message type. |
bool | $wantReply | Indicates whether the sender of this message wants a reply (true) or not (false). |
string | $term | Terminal to emulate. |
int | $widthInCols | Terminal width in characters. |
int | $heightInRows | Terminal height in rows. |
int | $widthInPixels | Terminal width in pixels. |
int | $heightInPixels | Terminal height in pixels. |
string | $modes | Encoded terminal modes. |
Definition at line 62 of file PtyReq.php.
References fpoirotte\Pssht\Messages\CHANNEL\Base\$channel, fpoirotte\Pssht\Messages\CHANNEL\REQUEST\PtyReq\$heightInPixels, fpoirotte\Pssht\Messages\CHANNEL\REQUEST\PtyReq\$heightInRows, fpoirotte\Pssht\Messages\CHANNEL\REQUEST\PtyReq\$modes, fpoirotte\Pssht\Messages\CHANNEL\REQUEST\PtyReq\$term, fpoirotte\Pssht\Messages\CHANNEL\REQUEST\Base\$type, fpoirotte\Pssht\Messages\CHANNEL\REQUEST\Base\$wantReply, fpoirotte\Pssht\Messages\CHANNEL\REQUEST\PtyReq\$widthInCols, and fpoirotte\Pssht\Messages\CHANNEL\REQUEST\PtyReq\$widthInPixels.
fpoirotte\Pssht\Messages\CHANNEL\REQUEST\PtyReq::serialize | ( | \fpoirotte\Pssht\Wire\Encoder | $encoder | ) |
Serialize the message.
fpoirotte::Pssht::Wire::Encoder | $encoder | Encoder to use to perform serialization. |
MessageInterface | Returns this message. |
Implements fpoirotte\Pssht\Messages\MessageInterface.
Definition at line 82 of file PtyReq.php.