Logo Search packages:      
Sourcecode: pan version File versions

Possible health states of a Task.

Enumerator:
OK  The task's health is fine.
ERR_NETWORK  The task has failed because of a bad connection. The queue should leave this task as-is so that it can retry when the network clears up.
ERR_COMMAND  The server has rejected a command sent by this task. For example, an expired article can't be retrieved or an article can't be posted due to no permissions. The queue should stop the task (but let other tasks continue) and let the user decide how to proceed.
ERR_LOCAL  The task has failed because of some local environment problem, such as disk full. Further tasks are likely to fail for the same reason, so the queue should go offline until the user intervenes to fix the problem.

Definition at line 30 of file health.h.

  {
    /** The task's health is fine. */
    OK,

    /** The task has failed because of a bad connection.
        The queue should leave this task as-is so that it
        can retry when the network clears up. */
    ERR_NETWORK,

    /** The server has rejected a command sent by this task.
        For example, an expired article can't be retrieved
        or an article can't be posted due to no permissions.
        The queue should stop the task (but let other tasks
        continue) and let the user decide how to proceed. */
    ERR_COMMAND,

    /** The task has failed because of some local
        environment problem, such as disk full.
        Further tasks are likely to fail for the
        same reason, so the queue should go offline
        until the user intervenes to fix the problem. */
    ERR_LOCAL
  };


Generated by  Doxygen 1.6.0   Back to index