def complete_iocb(self, serverAddr, iocbid, msg):
    'Called when the client receives a response to a request.'
    if _debug:
        IOProxyServer._debug('complete_iocb %r %r %r', serverAddr, iocbid, msg)
    iocb = None
    if (not self.localIOCB.has_key(iocbid)):
        IOProxyServer._error('no reference to IOCB %r', iocbid)
        if _debug:
            IOProxyServer._debug('    - localIOCB: %r', self.localIOCB)
    else:
        iocb = self.localIOCB[iocbid]
        del self.localIOCB[iocbid]
    if iocb:
        iocb.ioState = COMPLETED
        iocb.ioResponse = msg
        iocb.trigger()
Called when the client receives a response to a request.
def complete_iocb(self, serverAddr, iocbid, msg):
    
    if _debug:
        IOProxyServer._debug('complete_iocb %r %r %r', serverAddr, iocbid, msg)
    iocb = None
    if (not self.localIOCB.has_key(iocbid)):
        IOProxyServer._error('no reference to IOCB %r', iocbid)
        if _debug:
            IOProxyServer._debug('    - localIOCB: %r', self.localIOCB)
    else:
        iocb = self.localIOCB[iocbid]
        del self.localIOCB[iocbid]
    if iocb:
        iocb.ioState = COMPLETED
        iocb.ioResponse = msg
        iocb.trigger()