diff options
Diffstat (limited to 'lib/python2.7/site-packages/Twisted-12.2.0-py2.7-linux-x86_64.egg/twisted/internet/iocpreactor/interfaces.py')
-rwxr-xr-x | lib/python2.7/site-packages/Twisted-12.2.0-py2.7-linux-x86_64.egg/twisted/internet/iocpreactor/interfaces.py | 47 |
1 files changed, 0 insertions, 47 deletions
diff --git a/lib/python2.7/site-packages/Twisted-12.2.0-py2.7-linux-x86_64.egg/twisted/internet/iocpreactor/interfaces.py b/lib/python2.7/site-packages/Twisted-12.2.0-py2.7-linux-x86_64.egg/twisted/internet/iocpreactor/interfaces.py deleted file mode 100755 index 9e4d3ca4..00000000 --- a/lib/python2.7/site-packages/Twisted-12.2.0-py2.7-linux-x86_64.egg/twisted/internet/iocpreactor/interfaces.py +++ /dev/null @@ -1,47 +0,0 @@ -# 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 - - |