rem:  this.eventPump.addEvent (new CEvent ("dcc-chat", "poll", this, "onPoll")); 
add:  this.eventPump.addEvent(new CEvent("dcc-chat", "poll", this, "onPoll")); 
context: function dchat_poll (e){    var line = "";        try    {            line = this.connection.readData (this.READ_TIMEOUT);    }    catch (ex)    {        if (typeof (ex) != "undefined")                {            this.connection.disconnect();            var e = new CEvent ("dcc-chat", "close", this, "onClose");            e.reason = "read-error";            e.exception = ex;            this.eventPump.addEvent (e);            return false;        }        else            line = "";    }    this.eventPump.addEvent (new CEvent ("dcc-chat", "poll", this, "onPoll"));        if (line == "")        return false;        var incomplete = (line[line.length] != '\n');    var lines = line.split("\n");    if (this.savedLine)    {        lines[0] = this.savedLine + lines[0];        this.savedLine = "";    }        if (incomplete)        this.savedLine = lines.pop();        for (i in lines)    {        var ev = new CEvent("dcc-chat", "rawdata", this, "onRawData");        ev.data = lines[i];        ev.replyTo = this;        this.eventPump.addEvent (ev);    }        return true;    }
meta: 3298	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/3298/ab5d51d260afadac9132b483c4bb3c57bb553754/dcc.js/clean/js/lib/dcc.js