/**
  * Starts connection negotiation
  *
  * @param PhpAmqpLib_Wire_AMQPReader $args
  */
 protected function connection_start($args)
 {
     $this->version_major = $args->read_octet();
     $this->version_minor = $args->read_octet();
     $this->server_properties = $args->read_table();
     $this->mechanisms = explode(' ', $args->read_longstr());
     $this->locales = explode(' ', $args->read_longstr());
     if ($this->debug) {
         PhpAmqpLib_Helper_MiscHelper::debug_msg(sprintf('Start from server, version: %d.%d, properties: %s, mechanisms: %s, locales: %s', $this->version_major, $this->version_minor, self::dump_table($this->server_properties), implode(', ', $this->mechanisms), implode(', ', $this->locales)));
     }
 }