(serverConnection, peerId)
| 92 | class Peer { |
| 93 | |
| 94 | constructor(serverConnection, peerId) { |
| 95 | this._server = serverConnection; |
| 96 | this._peerId = peerId; |
| 97 | this._filesQueue = []; |
| 98 | this._busy = false; |
| 99 | } |
| 100 | |
| 101 | sendJSON(message) { |
| 102 | this._send(JSON.stringify(message)); |
nothing calls this directly
no outgoing calls
no test coverage detected