Exemplo n.º 1
0
 public function __construct($objectName, IAdaptingType $typedObject)
 {
     $this->m_objectName = $objectName;
     $this->m_typedObject = $typedObject;
     try {
         $this->m_mappedType = Types::getServerTypeForClientClass($objectName);
     } catch (Exception $ex) {
     }
     if ($this->m_mappedType != null) {
         $serverType = $this->m_mappedType->getName();
     } else {
         $serverType = "Unknown";
     }
     if (LOGGING) {
         Log::log(LoggingConstants::SERIALIZATION, "class: {$objectName}, server type: {$serverType}");
     }
 }