just comments

This commit is contained in:
anton 2012-10-07 20:12:30 +03:00 committed by brianc
parent 5cb871c143
commit d2b21aa95e

View File

@ -194,9 +194,13 @@ var clientBuilder = function(config) {
}
});
connection.on('_copyInResponse', function () {
//connection is ready to accept chunks
//start to send data from stream
connection._activeQuery.streamData(connection);
});
connection.on('_copyData', function (chunk) {
//recieve chunk from connection
//move it to stream
connection._activeQuery.handleCopyFromChunk(chunk);
});
return connection;