/usr/lib/python3/dist-packages/twisted/internet/iocpreactor
NameSizeModeActions
__pycache__/-0755rm
abstract.py130720644editdlrm
const.py5230644editdlrm
interfaces.py9450644editdlrm
iocpsupport.py4410644editdlrm
reactor.py94330644editdlrm
tcp.py198540644editdlrm
udp.py139160644editdlrm
__init__.py1910644editdlrm
Edit: /usr/lib/python3/dist-packages/twisted/internet/iocpreactor/interfaces.py (945B)
# Copyright (c) Twisted Matrix Laboratories. # See LICENSE for details. """ Interfaces for iocpreactor """ from zope.interface import Interface class IReadHandle(Interface): def readFromHandle(bufflist, evt): """ Read into the given buffers from this handle. @param bufflist: the buffers to read into @type bufflist: list of objects implementing the read/write buffer protocol @param evt: an IOCP Event object @return: tuple (return code, number of bytes read) """ class IWriteHandle(Interface): def writeToHandle(buff, evt): """ Write the given buffer to this handle. @param buff: the buffer to write @type buff: any object implementing the buffer protocol @param evt: an IOCP Event object @return: tuple (return code, number of bytes written) """ class IReadWriteHandle(IReadHandle, IWriteHandle): pass