<?php

namespace Metaregistrar\EPP;
/**
 * Created by PhpStorm.
 * User: thomasm
 * Date: 09.09.2015
 * Time: 10:56
 */
class atEppConnection extends nicatEppConnection {

    /*
    |--------------------------------------------------------------------------
    | atEppConnection
    |--------------------------------------------------------------------------
    |
    | Epp connection for TLD .at
    |
    */

    public function __construct($logging = false, $settingsfile = null) {
        parent::__construct($logging, $settingsfile);
        parent::setServices(array('urn:ietf:params:xml:ns:domain-1.0' => 'domain', 'urn:ietf:params:xml:ns:contact-1.0' => 'contact'));
        parent::enableDnssec();
        parent::addExtension('at-ext-epp', atEppConstants::namespaceAtExt);
        parent::useExtension('at-ext-domain-1.0');
        parent::useExtension('at-ext-message-1.0');

        parent::addCommandResponse('Metaregistrar\EPP\atEppCreateContactRequest', 'Metaregistrar\EPP\atEppCreateResponse');
        parent::addCommandResponse('Metaregistrar\EPP\atEppUpdateContactRequest', 'Metaregistrar\EPP\atEppUpdateContactResponse');
        parent::addCommandResponse('Metaregistrar\EPP\atEppCreateDomainRequest', 'Metaregistrar\EPP\atEppCreateResponse');
        parent::addCommandResponse('Metaregistrar\EPP\atEppUpdateDomainRequest', 'Metaregistrar\EPP\atEppUpdateDomainResponse');
        parent::addCommandResponse('Metaregistrar\EPP\atEppDeleteRequest', 'Metaregistrar\EPP\atEppDeleteResponse');
        parent::addCommandResponse('Metaregistrar\EPP\atEppTransferRequest', 'Metaregistrar\EPP\atEppTransferResponse');
        parent::addCommandResponse('Metaregistrar\EPP\eppInfoDomainRequest', 'Metaregistrar\EPP\atEppInfoDomainResponse');
        parent::addCommandResponse('Metaregistrar\EPP\eppInfoContactRequest', 'Metaregistrar\EPP\atEppInfoContactResponse');
    }





}
