/** * 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))); } }
/** * @param PhpAmqpLib_Wire_AMQPReader $args * @return array */ public static function channelOpenOk($args) { $ret = array(); $ret[] = $args->read_longstr(); return $ret; }
/** * @param PhpAmqpLib_Wire_AMQPReader $args * @return array */ public static function testTableOk($args) { $ret = array(); $ret[] = $args->read_longlong(); $ret[] = $args->read_longstr(); return $ret; }