 this.currentTransport = this.connectionTypes.match( data.supportedConnectionTypes, data.version, this._isXD );  this.currentTransport._cometd = this; this.currentTransport.version = data.version; this.clientId = data.clientId; this.tunnelInit = dojo.hitch(this.currentTransport, "tunnelInit"); this.tunnelCollapse = dojo.hitch(this.currentTransport, "tunnelCollapse"); this.currentTransport.startup(data); 
 this.currentTransport = this.connectionTypes.match( data.supportedConnectionTypes, data.version, this._isXD );  this.currentTransport._cometd = this; this.currentTransport.version = data.version; this.clientId = data.clientId; this.tunnelInit = dojo.hitch(this.currentTransport, "tunnelInit"); this.tunnelCollapse = dojo.hitch(this.currentTransport, "tunnelCollapse"); this.currentTransport.startup(data); 
	this._finishInit = function(data){		//	summary:		//		Handle the handshake return from the server and initialize		//		connection if all is OK		data = data[0];		this.handshakeReturn = data;				// remember any advice		if(data["advice"]){			this._advice = data.advice;		}		var successful=data.successful?data.successful:false;				// check version		if(data.version < this.minimumVersion){			console.debug("cometd protocol version mismatch. We wanted", this.minimumVersion, "but got", data.version);			successful=false;			this._advice.reconnect="none";		}				// If all OK		if(successful){		    // pick a transport		    this.currentTransport = this.connectionTypes.match(			data.supportedConnectionTypes,			data.version,			this._isXD		    );		    // initialize the transport		    this.currentTransport._cometd = this;		    this.currentTransport.version = data.version;		    this.clientId = data.clientId;		    this.tunnelInit = dojo.hitch(this.currentTransport, "tunnelInit");		    this.tunnelCollapse = dojo.hitch(this.currentTransport, "tunnelCollapse");		    this.currentTransport.startup(data);		}		dojo.publish("/cometd/meta", [{cometd:this,action:"handshook",successful:successful,state:this.state()}]);		// If there is a problem		if(!successful){			console.debug("cometd init failed");			// follow advice			if(this._advice && this._advice["reconnect"]=="none"){			    console.debug("cometd reconnect: none");			} else if( this._advice && this._advice["interval"] && this._advice.interval>0 ){				setTimeout(dojo.hitch(this,function(){this.init(cometd.url,this._props);}),this._advice.interval);			}else{				this.init(this.url,this._props);			}		}	}
5168	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/5168/c5d4597e2dcaa3b9ca02e49b6818d5a152bf8ef8/cometd.js/buggy/_cometd/cometd.js