Rudiments
listener.h
1// Copyright (c) 1999-2018 David Muse
2// See the COPYING file for more information.
3
4#ifndef RUDIMENTS_LISTENER_H
5#define RUDIMENTS_LISTENER_H
6
7#include <rudiments/private/listenerincludes.h>
8
11class RUDIMENTS_DLLSPEC listener : virtual public object {
12 public:
15
17 virtual ~listener();
18
24
29
34
37
40
41
49 int32_t listen();
50
68 int32_t listen(int32_t sec, int32_t usec);
69
70
74
78
79
85 void retryInterruptedWaits(bool retry);
86
87 #include <rudiments/private/listener.h>
88};
89
90#endif
Definition filedescriptor.h:13
Definition listener.h:11
int32_t listen(int32_t sec, int32_t usec)
singlylinkedlist< filedescriptor * > * getReadReadyList()
void addFileDescriptor(filedescriptor *fd)
void removeFileDescriptor(filedescriptor *fd)
int32_t listen()
void addReadFileDescriptor(filedescriptor *fd)
void addWriteFileDescriptor(filedescriptor *fd)
virtual ~listener()
void removeAllFileDescriptors()
void retryInterruptedWaits(bool retry)
singlylinkedlist< filedescriptor * > * getWriteReadyList()
Definition object.h:10
Definition singlylinkedlist.h:54