* Sets the protocol version * @param {Number} version
(version)
| 86 | * @param {Number} version |
| 87 | */ |
| 88 | setVersion(version) { |
| 89 | //128 or 32K stream ids depending on the protocol version |
| 90 | this.maxGroups = types.protocolVersion.uses2BytesStreamIds(version) ? maxGroupsFor2Bytes : 1; |
| 91 | } |
| 92 | |
| 93 | /** |
| 94 | * Dequeues an id. |
no outgoing calls
no test coverage detected