OXIESEC PANEL
- Current Dir:
/
/
usr
/
lib
/
python3
/
dist-packages
/
twisted
/
internet
/
iocpreactor
Server IP: 10.0.0.4
Upload:
Create Dir:
Name
Size
Modified
Perms
📁
..
-
03/31/2022 06:48:53 AM
rwxr-xr-x
📄
__init__.py
191 bytes
09/08/2017 10:38:36 AM
rw-r--r--
📁
__pycache__
-
03/31/2022 06:48:53 AM
rwxr-xr-x
📄
abstract.py
12.81 KB
09/08/2017 10:38:36 AM
rw-r--r--
📄
build.bat
106 bytes
09/08/2017 10:38:36 AM
rw-r--r--
📄
const.py
524 bytes
09/08/2017 10:38:36 AM
rw-r--r--
📄
interfaces.py
942 bytes
09/08/2017 10:38:36 AM
rw-r--r--
📁
iocpsupport
-
03/31/2022 06:48:52 AM
rwxr-xr-x
📄
notes.txt
890 bytes
09/08/2017 10:38:36 AM
rw-r--r--
📄
reactor.py
8.97 KB
09/08/2017 10:38:36 AM
rw-r--r--
📄
setup.py
588 bytes
09/08/2017 10:38:36 AM
rw-r--r--
📄
tcp.py
19.38 KB
09/08/2017 10:38:36 AM
rw-r--r--
📄
udp.py
13.69 KB
09/08/2017 10:38:36 AM
rw-r--r--
Editing: interfaces.py
Close
# 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 buff: the buffers to read into @type buff: 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