docs: function (jid, sid, rid, callback, wait, hold, wind)
      {
          this._conn.jid = jid;
          this.sid = sid;
          this.rid = rid;
  
          this._conn.connect_callback = callback;
  
          this._conn.domain = Strophe.getDomainFromJid(this._conn.jid);
  
          this._conn.authenticated = true;
          this._conn.connected = true;
  
          this.wait = wait || this.wait;
          this.hold = hold || this.hold;
          this.window = wind || this.window;
  
          this._conn._changeConnectStatus(Strophe.Status.ATTACHED, null);
      }