def complete_io(self, iocb, msg):
    'Called by a handler to return data to the client.'
    if _debug:
        IOController._debug('complete_io %r %r', iocb, msg)
    if (iocb.ioState == COMPLETED):
        pass
    elif (iocb.ioState == ABORTED):
        pass
    else:
        iocb.ioState = COMPLETED
        iocb.ioResponse = msg
        iocb.trigger()
Called by a handler to return data to the client.
def complete_io(self, iocb, msg):
    
    if _debug:
        IOController._debug('complete_io %r %r', iocb, msg)
    if (iocb.ioState == COMPLETED):
        pass
    elif (iocb.ioState == ABORTED):
        pass
    else:
        iocb.ioState = COMPLETED
        iocb.ioResponse = msg
        iocb.trigger()