public function __set($property, $value)
{
switch ($property) {
case self::MULTIPLEX:
$this->_multiplexSet = true;
// fallthrough
// fallthrough
case self::ANNOUNCED_VERSION:
case self::BLOCKED:
case self::VERSION:
case self::OS:
$properties = $this->properties;
if (empty($properties)) {
$properties = array();
}
$properties[$property] = $value;
$this->setDeviceProperties($properties);
break;
case 'clientType':
$this->_clientType = $value;
break;
default:
if (!isset($this->_properties[$property]) || $value != $this->_properties[$property]) {
$this->_dirty[$property] = true;
$this->_properties[$property] = $value;
}
}
}