(self)
Remove the callback for read activity on the socket.
Remove the callback for read activity on the socket.
Remove the callback for read activity on the socket .
def disable_read(self):
        """Remove the callback for read activity on the socket."""
        libcf.CFSocketDisableCallBacks(self._cf_socket, kCFSocketReadCallBack)
        self._reader = None
        self.cancel()
def disable_read ( self ) : libcf . CFSocketDisableCallBacks ( self . _cf_socket , kCFSocketReadCallBack ) self . _reader = None self . cancel ( )