private function initSocket(array $config)
    {
        $this->connectionFactory = new SocketFactory($config);
        $this->connectionType = self::CONNECTION_TYPE_SOCKET;
    }
private function initSocket(array $config)
    {
        $this->connectionFactory = new SocketFactory($config);
        $this->connectionType = self::CONNECTION_TYPE_SOCKET;
    }
@param array $config

@throws ConnectionFactoryException