pssht
latest
SSH server library written in PHP
|
Public Member Functions | |
__construct ($channel, $type, $wantReply, $signal, $coreDumped, $error, $language) | |
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 | |
$coreDumped | |
Whether a core file was dumped or not. | |
$error | |
Textual explanation of the error. | |
$language | |
Language the error message in written into, in RFC 3066 format. | |
$signal | |
Name of the signal that caused the process to exit. | |
![]() | |
$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 "exit-signal" request type.
Definition at line 18 of file ExitSignal.php.
fpoirotte\Pssht\Messages\CHANNEL\REQUEST\ExitSignal::__construct | ( | $channel, | |
$type, | |||
$wantReply, | |||
$signal, | |||
$coreDumped, | |||
$error, | |||
$language | |||
) |
Construct a new SSH_MSG_CHANNEL_REQUEST message for the "exit-signal" type.
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 | $signal | Signal name, without the "SIG" prefix. |
bool | $coreDumped | Whether a core file was dumped (true) or not (false). |
string | $error | Text explaining the error in more details. |
string | $language | Language the error message is written into, in RFC 3066 format. |
Definition at line 53 of file ExitSignal.php.
References fpoirotte\Pssht\Messages\CHANNEL\Base\$channel, fpoirotte\Pssht\Messages\CHANNEL\REQUEST\ExitSignal\$coreDumped, fpoirotte\Pssht\Messages\CHANNEL\REQUEST\ExitSignal\$error, fpoirotte\Pssht\Messages\CHANNEL\REQUEST\ExitSignal\$language, fpoirotte\Pssht\Messages\CHANNEL\REQUEST\ExitSignal\$signal, fpoirotte\Pssht\Messages\CHANNEL\REQUEST\Base\$type, and fpoirotte\Pssht\Messages\CHANNEL\REQUEST\Base\$wantReply.
fpoirotte\Pssht\Messages\CHANNEL\REQUEST\ExitSignal::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 62 of file ExitSignal.php.