17 #ifdef OF_HAVE_SOCKETS 22 # include <exec/types.h> 23 # include <exec/tasks.h> 26 OF_ASSUME_NONNULL_BEGIN
30 #ifdef OF_HAVE_THREADS 58 - (void)objectIsReadyForReading: (
id)object;
65 - (void)objectIsReadyForWriting: (
id)object;
67 #if defined(OF_AMIGAOS) || defined(DOXYGEN) 73 - (void)execSignalWasReceived: (ULONG)signalMask;
89 @property (readonly, nonatomic) int fileDescriptorForReading;
104 @property (readonly, nonatomic) int fileDescriptorForWriting;
107 #ifdef OF_HAVE_SOCKETS 123 id <OFKernelEventObserverDelegate> _Nullable _delegate;
124 # if defined(OF_AMIGAOS) 125 struct Task *_waitingTask;
127 # elif defined(OF_HAVE_PIPE) 130 OFSocketHandle _cancelFD[2];
131 struct sockaddr_in _cancelAddr;
134 ULONG _execSignalMask;
142 @property OF_NULLABLE_PROPERTY (assign, nonatomic)
145 # if defined(OF_AMIGAOS) || defined(DOXYGEN) 151 @property (nonatomic) ULONG execSignalMask;
159 + (instancetype)observer;
238 - (void)observeUntilDate: (
OFDate *)date;
253 - (bool)of_processReadBuffers;
257 OF_ASSUME_NONNULL_END
This protocol is implemented by classes which can be observed for readiness for reading by OFKernelEv...
A class for creating mutual exclusions.
Definition: OFMutex.h:32
A class for storing, accessing and comparing dates.
Definition: OFDate.h:29
The root class for all other classes inside ObjFW.
Definition: OFObject.h:686
An abstract class for storing, adding and removing objects in an array.
Definition: OFMutableArray.h:43
double OFTimeInterval
A time interval in seconds.
Definition: OFObject.h:150
A class that can observe multiple kernel events (e.g. streams being ready to read) at once...
Definition: OFKernelEventObserver.h:117
This protocol is implemented by classes which can be observed for readiness for writing by OFKernelEv...
A protocol that needs to be implemented by delegates for OFKernelEventObserver.
Definition: OFKernelEventObserver.h:33
A class for storing and manipulating arbitrary data in an array.
Definition: OFMutableData.h:25