MCPcopy Create free account
hub / github.com/dan-manges/m2node / FakeSocket

Function FakeSocket

lib/m2node/fake_socket.js:15–18  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

13 FakeSocket = (function() {
14 __extends(FakeSocket, events.EventEmitter);
15 function FakeSocket() {
16 this.writeBuffer = new Buffer('');
17 this.writable = true;
18 }
19 FakeSocket.prototype.destroy = function() {};
20 FakeSocket.prototype.destroySoon = function() {};
21 FakeSocket.prototype.emitData = function(buffer) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected