ó
>Mc           @   s_   d  Z  d d l m Z d e f d „  ƒ  YZ d e f d „  ƒ  YZ d e e f d „  ƒ  YZ d	 S(
   s   
Interfaces for iocpreactor
iÿÿÿÿ(   t	   Interfacet   IReadHandlec           B   s   e  Z d  „  Z RS(   c         C   s   d S(   s$  
        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)
        N(    (   t   bufflistt   evt(    (    sK   /usr/lib/python2.7/dist-packages/twisted/internet/iocpreactor/interfaces.pyt   readFromHandle   s    (   t   __name__t
   __module__R   (    (    (    sK   /usr/lib/python2.7/dist-packages/twisted/internet/iocpreactor/interfaces.pyR      s   t   IWriteHandlec           B   s   e  Z d  „  Z RS(   c         C   s   d S(   s  
        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)
        N(    (   t   buffR   (    (    sK   /usr/lib/python2.7/dist-packages/twisted/internet/iocpreactor/interfaces.pyt   writeToHandle   s    (   R   R   R	   (    (    (    sK   /usr/lib/python2.7/dist-packages/twisted/internet/iocpreactor/interfaces.pyR      s   t   IReadWriteHandlec           B   s   e  Z RS(    (   R   R   (    (    (    sK   /usr/lib/python2.7/dist-packages/twisted/internet/iocpreactor/interfaces.pyR
   ,   s   N(   t   __doc__t   zope.interfaceR    R   R   R
   (    (    (    sK   /usr/lib/python2.7/dist-packages/twisted/internet/iocpreactor/interfaces.pyt   <module>   s   