Esempio n. 1
0
def runHTTPStreamerChecks():
    """Runs all the http checks
    @returns: a deferred returning a guess of the public
              hostname for this worker
    """
    # FIXME: Move over more checks from httpstreamer.py
    log.debug('httpcheck', 'Checking...')
    result = Result()
    result.succeed(guess_public_hostname())
    log.debug('httpcheck', 'done, returning')
    return result
Esempio n. 2
0
def runHTTPStreamerChecks():
    """Runs all the http checks
    @returns: a deferred returning a guess of the public
              hostname for this worker
    """
    # FIXME: Move over more checks from httpstreamer.py
    log.debug('httpcheck', 'Checking...')
    result = Result()
    result.succeed(guess_public_hostname())
    log.debug('httpcheck', 'done, returning')
    return result
Esempio n. 3
0
def checkCortado():
    """Check for cortado applet.
    @returns: a result containing the filename to the jar or None if it
        cannot be found
    @rtype: L{flumotion.common.messages.Result}
    """
    log.debug('cortadocheck', 'Checking...')
    filename = getCortadoFilename()
    if not filename:
        msg = 'not found'
    else:
        msg = filename

    log.debug('cortadocheck', 'filename - %s' % (msg, ))
    result = Result()
    result.succeed(filename)
    log.debug('cortadocheck', 'done, returning')
    return result
Esempio n. 4
0
def checkCortado():
    """Check for cortado applet.
    @returns: a result containing the filename to the jar or None if it
        cannot be found
    @rtype: L{flumotion.common.messages.Result}
    """
    log.debug('cortadocheck', 'Checking...')
    filename = getCortadoFilename()
    if not filename:
        msg = 'not found'
    else:
        msg = filename

    log.debug('cortadocheck', 'filename - %s' % (msg, ))
    result = Result()
    result.succeed(filename)
    log.debug('cortadocheck', 'done, returning')
    return result
def checkFlashPlayer():
    """Check for flash player.
    @returns: a result containing the filename to the jar or None
              if it cannot be found
    @rtype: L{flumotion.common.messages.Result}
    """

    log.debug('flashplayercheck', 'Checking for ...')
    filename = getFlashFilename('video')
    if not filename:
        msg = 'not found'
    else:
        msg = filename

    log.debug('flashplayercheck', 'filename - %s' % (msg, ))
    result = Result()
    result.succeed(filename)
    log.debug('flashplayercheck', 'done, returning')
    return result