A protocol that needs to be implemented by delegates for OFKernelEventObserver.
More...
#include <OFKernelEventObserver.h>
A protocol that needs to be implemented by delegates for OFKernelEventObserver.
OFKernelEventObserver.h ObjFW/OFKernelEventObserver.h
◆ execSignalWasReceived:
- (void) execSignalWasReceived: |
|
(ULONG) | signalMask |
|
|
optionalrequired |
This callback is called when an Exec Signal was received.
- Note
- This is only available on AmigaOS!
◆ objectIsReadyForReading:
- (void) objectIsReadyForReading: |
|
(id) | object |
|
|
optional |
This callback is called when an object did get ready for reading.
- Note
- If the object is a subclass of OFStream and tryReadLine (OFStream) or tryReadUntilDelimiter: (OFStream) 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.
- Parameters
-
object | The object which did become ready for reading |
◆ objectIsReadyForWriting:
- (void) objectIsReadyForWriting: |
|
(id) | object |
|
|
optionalrequired |
This callback is called when an object did get ready for writing.
- Parameters
-
object | The object which did become ready for writing |
The documentation for this protocol was generated from the following file: