OrientDB/Commands/OrientDBCommandDBOpen.php
protected function parseResponse()
    {
        $this->debugCommand('sessionID');
        $this->sessionID = $this->readInt();

        $this->debugCommand('clusters');
        $numClusters = $this->readShort();

        $clusters = array();
        for ($i = 0; $i < $numClusters; $i++) {
            $cluster = new stdClass();
            $this->debugCommand('cluster_name');
            $cluster->name = $this->readString();
            $this->debugCommand('clusterID');
            $cluster->id = $this->readShort();
            $this->debugCommand('cluster_type');
            $cluster->type = $this->readString();
            $this->debugCommand('cluster_datasegment_id');
            $cluster->datasegmentid = $this->readShort();
            $clusters[] = $cluster;
        }
        $this->debugCommand('config_bytes');
        $config = $this->readBytes();
        $this->debugCommand('orientdb-release-string');
        $this->readString();

        return array(
            'clusters' => $clusters,
            'config' => $config);
    }
protected function parseResponse()
    {
        $this->debugCommand('sessionID');
        $this->sessionID = $this->readInt();

        $this->debugCommand('clusters');
        $numClusters = $this->readShort();

        $clusters = array();
        for ($i = 0; $i < $numClusters; $i++) {
            $cluster = new stdClass();
            $this->debugCommand('cluster_name');
            $cluster->name = $this->readString();
            $this->debugCommand('clusterID');
            $cluster->id = $this->readShort();
            $this->debugCommand('cluster_type');
            $cluster->type = $this->readString();
            $this->debugCommand('cluster_datasegment_id');
            $cluster->datasegmentid = $this->readShort();
            $clusters[] = $cluster;
        }
        $this->debugCommand('config_bytes');
        $config = $this->readBytes();
        $this->debugCommand('orientdb-release-string');
        $this->readString();

        return array(
            'clusters' => $clusters,
            'config' => $config);
    }
(non-PHPdoc)
@see OrientDBCommandAbstract::parseResponse()
@return array