Differences From Artifact [68c03424f8]:
- File src/OFStreamObserver.m — part of check-in [6d9854419c] at 2011-04-03 19:25:29 on branch trunk — OPEN_MAX is not available on every system. (user: js, size: 10270) [annotate] [blame] [check-ins using]
To Artifact [b3c7d0cf87]:
- File
src/OFStreamObserver.m
— part of check-in
[f4151a36e3]
at
2011-04-03 19:52:49
on branch trunk
— Add -[pendingBytes] to OFStream.
This way, the method to determine whether OFStreamSocket should
call the delegate can be overriden by subclasses, for example
for SSL sockets. (user: js, size: 10274) [annotate] [blame] [check-ins using]
︙ | ︙ | |||
356 357 358 359 360 361 362 | [self _processQueue]; cArray = [readStreams cArray]; count = [readStreams count]; for (i = 0; i < count; i++) { | | | 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 | [self _processQueue]; cArray = [readStreams cArray]; count = [readStreams count]; for (i = 0; i < count; i++) { if ([cArray[i] pendingBytes] > 0) { [delegate streamDidBecomeReadyForReading: cArray[i]]; foundInCache = YES; [pool releaseObjects]; } } /* |
︙ | ︙ |