106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
|
*
* @note Currently, Win32 can only observe TCP and UDP sockets!
*/
@interface OFKernelEventObserver: OFObject
{
OFMutableArray *_readObjects;
OFMutableArray *_writeObjects;
__unsafe_unretained id *_FDToObject;
size_t _maxFD;
OFMutableArray *_queue;
OFDataArray *_queueInfo, *_queueFDs;
id <OFKernelEventObserverDelegate> _delegate;
#ifdef OF_HAVE_PIPE
int _cancelFD[2];
#else
of_socket_t _cancelFD[2];
struct sockaddr_in _cancelAddr;
#endif
|
<
<
|
|
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
|
*
* @note Currently, Win32 can only observe TCP and UDP sockets!
*/
@interface OFKernelEventObserver: OFObject
{
OFMutableArray *_readObjects;
OFMutableArray *_writeObjects;
OFMutableArray *_queue;
OFDataArray *_queueActions;
id <OFKernelEventObserverDelegate> _delegate;
#ifdef OF_HAVE_PIPE
int _cancelFD[2];
#else
of_socket_t _cancelFD[2];
struct sockaddr_in _cancelAddr;
#endif
|