(long errorCode)
| 214 | |
| 215 | |
| 216 | final void receiveReset(long errorCode) { |
| 217 | if (log.isTraceEnabled()) { |
| 218 | log.trace( |
| 219 | sm.getString("stream.reset.receive", getConnectionId(), getIdAsString(), Long.toString(errorCode))); |
| 220 | } |
| 221 | // Set the new state first since read and write both check this |
| 222 | state.receivedReset(); |
| 223 | // Reads wait internally so need to call a method to break the wait() |
| 224 | inputBuffer.receiveReset(); |
| 225 | cancelAllocationRequests(); |
| 226 | } |
| 227 | |
| 228 | |
| 229 | final void cancelAllocationRequests() { |
no test coverage detected