twisted.python._epoll.OUT

Here are the examples of the python api twisted.python._epoll.OUT taken from open source projects. By voting up you can indicate which examples are most useful and appropriate.

2 Examples 7

Example 1

Project: mythbox Source File: epollreactor.py
Function: add_writer
    def addWriter(self, writer):
        """
        Add a FileDescriptor for notification of data available to write.
        """
        self._add(writer, self._writes, self._reads, self._selectables, _epoll.OUT, _epoll.IN)

Example 2

Project: mythbox Source File: epollreactor.py
Function: remove_writer
    def removeWriter(self, writer):
        """
        Remove a Selectable for notification of data available to write.
        """
        self._remove(writer, self._writes, self._reads, self._selectables, _epoll.OUT, _epoll.IN)