84 parent::serialize($encoder);
85 $encoder->encodeString($this->term);
86 $encoder->encodeUint32($this->widthInCols);
87 $encoder->encodeUint32($this->heightInRows);
88 $encoder->encodeUint32($this->widthInPixels);
89 $encoder->encodeUint32($this->heightInPixels);
90 $encoder->encodeString($this->modes);
94 protected static function unserializeSub(\
fpoirotte\Pssht\Wire\
Decoder $decoder)
97 $decoder->decodeString(),
98 $decoder->decodeUint32(),
99 $decoder->decodeUint32(),
100 $decoder->decodeUint32(),
101 $decoder->decodeUint32(),
102 $decoder->decodeString(),
$widthInPixels
Terminal width in pixels.
$modes
Encoded terminal modes.
$widthInCols
Terminal width in characters.
$heightInPixels
Terminal height in pixels.
$channel
Local channel identifier.
$term
Terminal to emulate.
$wantReply
Whether the sender of the message wants a reply or not.
serialize(\fpoirotte\Pssht\Wire\Encoder $encoder)
$heightInRows
Terminal height in rows.
__construct($channel, $type, $wantReply, $term, $widthInCols, $heightInRows, $widthInPixels, $heightInPixels, $modes)