    def handleOutput(self, adapter):
        '''
        @brief: 处理发送事件
        @param adapter: 事件对应的adapter
        @type adapter: AdapterProxy
        @return: None
        @rtype: None
        '''
        tarsLogger.debug('FDReactor:handleOutput')
        if not adapter.trans().isValid():
            return
        while adapter.trans().doRequest() >= 0 and adapter.sendRequest():
            pass
@brief: 处理发送事件
@param adapter: 事件对应的adapter
@type adapter: AdapterProxy
@return: None
@rtype: None
biliup/Danmaku/tars/__trans.py