Differences From Artifact [24a5771adb]:
- File src/OFStream.h — part of check-in [8ba403b013] at 2011-03-25 02:51:10 on branch trunk — Work around a bug in gcc 4.4.4 (possibly only in Haiku). (user: js, size: 9597) [annotate] [blame] [check-ins using]
To Artifact [30f45428be]:
- File
src/OFStream.h
— 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: 9698) [annotate] [blame] [check-ins using]
︙ | ︙ | |||
325 326 327 328 329 330 331 332 333 334 335 336 337 338 | * \param fmt A string used as format * \param args The arguments used in the format string * \return The number of bytes written */ - (size_t)writeFormat: (OFString*)fmt withArguments: (va_list)args; /** * \return Whether the stream is in blocking mode */ - (BOOL)isBlocking; /** * Enables or disables non-blocking I/O. | > > > > > | 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 | * \param fmt A string used as format * \param args The arguments used in the format string * \return The number of bytes written */ - (size_t)writeFormat: (OFString*)fmt withArguments: (va_list)args; /** * \return The number of bytes still present in the internal cache. */ - (size_t)pendingBytes; /** * \return Whether the stream is in blocking mode */ - (BOOL)isBlocking; /** * Enables or disables non-blocking I/O. |
︙ | ︙ |