Beispiel #1
0
 public function serialize(\fpoirotte\Pssht\Wire\Encoder $encoder)
 {
     parent::serialize($encoder);
     $encoder->encodeUint32($this->code);
     $encoder->encodeString($this->data);
     return $this;
 }
Beispiel #2
0
 public function serialize(\fpoirotte\Pssht\Wire\Encoder $encoder)
 {
     parent::serialize($encoder);
     $encoder->encodeString($this->type);
     $encoder->encodeBoolean($this->wantReply);
     return $this;
 }
Beispiel #3
0
 public function serialize(\fpoirotte\Pssht\Wire\Encoder $encoder)
 {
     parent::serialize($encoder);
     $encoder->encodeUint32($this->reasonCode);
     $encoder->encodeString($this->reasonMessage);
     $encoder->encodeString($this->language);
     return $this;
 }