Differences From Artifact [67edca5fb3]:
- File src/OFStreamObserver.m — part of check-in [e40729d406] at 2013-02-12 18:22:15 on branch trunk — Prefix all ivars with an underscore. (user: js, size: 8498) [annotate] [blame] [check-ins using]
To Artifact [6df17e709d]:
- File
src/OFStreamObserver.m
— part of check-in
[efe7be259d]
at
2013-02-18 21:53:56
on branch trunk
— Rename -[OFStream pendingBytes].
It is now called -[numberOfBytesInReadBuffer].
Additionally, this commit renames OFStream's _cache to _readBuffer. (user: js, size: 8511) [annotate] [blame] [check-ins using]
︙ | ︙ | |||
392 393 394 395 396 397 398 | - (BOOL)OF_processCache { OFStream **objects = [_readStreams objects]; size_t i, count = [_readStreams count]; BOOL foundInCache = NO; for (i = 0; i < count; i++) { | | | 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 | - (BOOL)OF_processCache { OFStream **objects = [_readStreams objects]; size_t i, count = [_readStreams count]; BOOL foundInCache = NO; for (i = 0; i < count; i++) { if ([objects[i] numberOfBytesInReadBuffer] > 0 && ![objects[i] OF_isWaitingForDelimiter]) { void *pool = objc_autoreleasePoolPush(); if ([_delegate respondsToSelector: @selector(streamIsReadyForReading:)]) [_delegate streamIsReadyForReading: objects[i]]; |
︙ | ︙ |