 import flash.errors.IllegalOperationError;
 import flash.events.EventDispatcher;
 import flash.events.TimerEvent;
+import flash.utils.getDefinitionByName;
 import flash.utils.Timer;
 
 import mx.collections.ArrayCollection;

    /**
     *  @private
     *  Indicates whether the Channel was previously connected successfully. Used for pinned reconnect
     *  attempt before trying failover options.
     */
    private var _previouslyConnected:Boolean;
    

    private function shouldAttemptFailover():Boolean
    {
        return (_shouldBeConnected && 
                   (_previouslyConnected ||
                   (reliableReconnectDuration != -1) || 
                   ((_failoverURIs != null) &&  (_failoverURIs.length > 0))));  
    } 
    
    /**
