aboutsummaryrefslogtreecommitdiff
path: root/src/PollSource.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/PollSource.py')
-rw-r--r--src/PollSource.py12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/PollSource.py b/src/PollSource.py
new file mode 100644
index 00000000..b549b24e
--- /dev/null
+++ b/src/PollSource.py
@@ -0,0 +1,12 @@
+import typing
+
+class PollSource(object):
+ def get_readables(self) -> typing.List[int]:
+ return []
+ def get_writables(self) -> typing.List[int]:
+ return []
+
+ def is_readable(self, fileno: int):
+ pass
+ def is_writable(self, fileno: int):
+ pass