public function serialize(&$a = array()) { $a = parent::serialize(); $this->stringToBytes($a, $this->buildID); $this->longToBytes($a, $this->session); return $a; }
public function serialize(&$a = array()) { $a = parent::serialize(); $this->intListToBytes($a, $this->contextIDs); $this->stringListToBytes($a, $this->filenames); return $a; }
public function serialize(&$a = array()) { $a = parent::serialize(); $this->intListToBytes($a, $this->sessions); $this->stringListToBytes($a, $this->names); return $a; }
public function serialize(&$a = array()) { $a = parent::serialize(); $this->intToBytes($a, $this->context_id); $this->boolToBytes($a, $this->allContexts); return $a; }
public function serialize(&$a = array()) { $a = parent::serialize(); $this->stringToBytes($a, $this->username); $this->hash->serialize($a); return $a; }
public function serialize(&$a = array()) { $a = parent::serialize(); $this->stringToBytes($a, $this->filename); $this->torrent_file->serialize($a); $this->boolToBytes($a, $this->start); return $a; }
public function serialize(&$a = array()) { $a = parent::serialize(); $command_present = true; if ($this->which_command == Command::CN_UNAVAILABLE) { $command_present = false; } $this->boolToBytes($a, $command_present); if ($command_present) { $this->intToBytes($a, $this->which_command); } return $a; }
public function serialize(&$a = array()) { $a = parent::serialize(); $command_present = true; if ($this->which_command == Command::CN_UNAVAILABLE) { $command_present = false; } $this->boolToBytes($a, $command_present); if ($command_present) { $this->intToBytes($a, $this->which_command); } $message_present = true; if (strlen($this->message) == 0 || !$this->isMessagePresent) { $message_present = false; } $this->boolToBytes($a, $message_present); if ($message_present) { $this->stringToBytes($a, $this->message); } return $a; }
public function serialize(&$a = array()) { $a = parent::serialize(); $this->intToBytes($a, $this->command_type); return $a; }
public function serialize(&$a = array()) { $a = parent::serialize(); $this->intToBytes($a, $this->limitUpld); $this->intToBytes($a, $this->limitDwnld); $this->intToBytes($a, $this->maxUploads); $this->intToBytes($a, $this->maxConnections); return $a; }
public function serialize(&$a = array()) { $a = parent::serialize(); $this->uintToBytes($a, $this->opid); $this->uintToBytes($a, $this->optype); $this->uintToBytes($a, $this->opstatus); if (strlen($this->opdatastr) > 0) { $b = true; $this->boolToBytes($a, $b); $this->stringToBytes($a, $this->opdatastr); } else { $b = false; $this->boolToBytes($a, $b); } return $a; }
public function serialize(&$a = array()) { $a = parent::serialize(); $this->longToBytes($a, $this->uptime); return $a; }
public function serialize(&$a = array()) { $a = parent::serialize(); $this->uintToBytes($a, $this->id); $this->uintToBytes($a, $this->status); return $a; }