Full implementation of netbeans protocol

This commit is contained in:
2014-11-02 18:45:42 +01:00
parent c5709a403c
commit e59a3df7f4
3 changed files with 79 additions and 27 deletions

View File

@@ -1,9 +1,12 @@
var Types = require("types.js");
var EventEmitter = require("EventEmitter");
var Types = require("types");
//A controler owned buffer representation
function Buffer (client, buffId) {
"use strict";
EventEmitter.call(this);
var typeNum = 0; //WARNING : check if this should be unique to a buffer
var serNum = 0; //WARNING : check if this should be unique to a buffer
@@ -174,4 +177,6 @@ function Buffer (client, buffId) {
};
}
Buffer.prototype = EventEmitter;
module.exports = Buffer;