Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- diff gen-nodejs0.9.1/UserStorage.js gen-nodejs1.0.0-dev/UserStorage.js
- 2c2
- < // Autogenerated by Thrift Compiler (0.9.1)
- ---
- > // Autogenerated by Thrift Compiler (1.0.0-dev)
- 203c203
- < this.seqid = 0;
- ---
- > this._seqid = 0;
- 206a207,208
- > UserStorageClient.prototype.seqid = function() { return this._seqid; }
- > UserStorageClient.prototype.new_seqid = function() { return this._seqid += 1; }
- 208,209c210,211
- < this.seqid += 1;
- < this._reqs[this.seqid] = callback;
- ---
- > this._seqid = this.new_seqid();
- > this._reqs[this.seqid()] = callback;
- 215c217
- < output.writeMessageBegin('store', Thrift.MessageType.CALL, this.seqid);
- ---
- > output.writeMessageBegin('store', Thrift.MessageType.CALL, this.seqid());
- 239,240c241,242
- < this.seqid += 1;
- < this._reqs[this.seqid] = callback;
- ---
- > this._seqid = this.new_seqid();
- > this._reqs[this.seqid()] = callback;
- 246c248
- < output.writeMessageBegin('retrieve', Thrift.MessageType.CALL, this.seqid);
- ---
- > output.writeMessageBegin('retrieve', Thrift.MessageType.CALL, this.seqid());
- diff gen-nodejs0.9.1/user_types.js gen-nodejs1.0.0-dev/user_types.js
- 2c2
- < // Autogenerated by Thrift Compiler (0.9.1)
- ---
- > // Autogenerated by Thrift Compiler (1.0.0-dev)
- 48c48
- < this.name = input.readString();
- ---
- > this.name = input.readBinary();
- 55c55
- < this.blurb = input.readString();
- ---
- > this.blurb = input.readBinary();
- 78c78
- < output.writeString(this.name);
- ---
- > output.writeBinary(this.name);
- 83c83
- < output.writeString(this.blurb);
- ---
- > output.writeBinary(this.blurb);
Advertisement
Add Comment
Please, Sign In to add comment