41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
|
*/
@protocol OFKernelEventObserverDelegate <OFObject>
@optional
/**
* @brief This callback is called when an object did get ready for reading.
*
* @note If the object is a subclass of @ref OFStream and
* @ref OFStream::tryReadLine or @ref OFStream::tryReadUntilDelimiter:
* has been called on the stream, this callback will not be called again
* until new data has been received, even though there is still data in
* the cache. The reason for this is to prevent spinning in a loop when
* there is an incomplete string in the cache. Once the string has been
* completed, the callback will be called again as long there is data in
* the cache.
*
|
|
|
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
|
*/
@protocol OFKernelEventObserverDelegate <OFObject>
@optional
/**
* @brief This callback is called when an object did get ready for reading.
*
* @note If the object is a subclass of @ref OFStream and
* @ref OFStream#tryReadLine or @ref OFStream#tryReadUntilDelimiter:
* has been called on the stream, this callback will not be called again
* until new data has been received, even though there is still data in
* the cache. The reason for this is to prevent spinning in a loop when
* there is an incomplete string in the cache. Once the string has been
* completed, the callback will be called again as long there is data in
* the cache.
*
|