ReferenceError: CompositeStream is not defined

10 views
Skip to first unread message

Genie Logiciel

unread,
May 5, 2016, 12:04:30 AM5/5/16
to nodejs

I need help about CompositeStream class in javascript.

RfbProtocolClient = function() {};
 $prototype = RfbProtocolClient.prototype;
    $prototype.connect = function(url) {
    this.socket = new WebSocket(url);
    this.socket.binaryType = "arraybuffer";
    this.stream = new CompositeStream();
    bindSocketHandlers(this, this.socket);
    this.buttonMask = 0;
    // set first handler
    this.readHandler = versionHandler;
}
Reply all
Reply to author
Forward
0 new messages