def chain_callback(self, iocb):
    'Callback when this iocb completes.'
    if _debug:
        IOChainMixIn._debug('chain_callback %r', iocb)
    if (not self.ioChain):
        return
    iocb = self.ioChain
    try:
        if _debug:
            IOChainMixIn._debug('    - decoding')
        self.Decode()
        if _debug:
            IOChainMixIn._debug('    - decode complete')
    except:
        err = sys.exc_info()[1]
        if _debug:
            IOChainMixIn._exception('    - decoding exception: %r', err)
        iocb.ioState = ABORTED
        iocb.ioError = err
    self.ioChain = None
    iocb.ioController = None
    iocb.trigger()
Callback when this iocb completes.
def chain_callback(self, iocb):
    
    if _debug:
        IOChainMixIn._debug('chain_callback %r', iocb)
    if (not self.ioChain):
        return
    iocb = self.ioChain
    try:
        if _debug:
            IOChainMixIn._debug('    - decoding')
        self.Decode()
        if _debug:
            IOChainMixIn._debug('    - decode complete')
    except:
        err = sys.exc_info()[1]
        if _debug:
            IOChainMixIn._exception('    - decoding exception: %r', err)
        iocb.ioState = ABORTED
        iocb.ioError = err
    self.ioChain = None
    iocb.ioController = None
    iocb.trigger()