function (state) {
        var me = this;
        if (me.readyState != state) {
            me.readyState = state;
            me.onreadystatechange();
        }
    }
function (state) {
        var me = this;
        if (me.readyState != state) {
            me.readyState = state;
            me.onreadystatechange();
        }
    }
function ( state ) { var me = this ; if ( me . readyState != state ) { me . readyState = state ; me . onreadystatechange ( ) ; } }
Updates readyState and notifies listeners.
@private
Updates readyState and notifies listeners .