Class: ProcessingPhase Abstract

Defined in: src/kermit/RequestItem.coffee

Overview

This class is abstract.

A RequestItem is always in one of the following processing phases. Each item starts with phase {ProcessingPhase.INITIAL} From phase INITIAL it transitions forward while being processed by the Extensions that handle items of that particular phase. The following diagram illustrate the possible phase transitions with the ordinary flow INITIAL -> SPOOLED -> READY -> FETCHING -> FETCHED -> COMPLETE. Any item may also end in phases CANCELED or ERROR depending on the logic of the Extensions

 .-------------.
 |   INITIAL   |
 |-------------|
 | Unprocessed |
 |             |
 '-------------'   \
        |           \
        |            \
        |             v
        v             .--------------------.
 .-------------.      |  ERROR | CANCELED  |      .-----------.
 |  SPOOLED    |      |--------------------|      | COMPLETE  |
 |-------------|  --->| - Error            |      |-----------|
 | Waiting for |      | - Duplicate        |      | Done!     |
 | free slot   |      | - Blacklisted etc. |      |           |
 '-------------'      '--------------------'      '-----------'
        |             ^         ^          ^            ^
        |            /          |           \           |
        |           /           |            \          |
        v          /                          \         |
 .-------------.         .-------------.          .-----------.
 |    READY    |         |  FETCHING   |          |  FETCHED  |
 |-------------|         |-------------|          |-----------|
 | Ready for   |-------->| Request     |--------->| Content   |
 | fetching    |         | streaming   |          | received  |
 '-------------'         '-------------'          '-----------'

See also:

Property Summary

(String) INITIAL
See INITIAL
(String) SPOOLED
See SPOOLED
(String) READY
See READY
(String) FETCHING
See FETCHING
(String) FETCHED
See FETCHED
(String) COMPLETE
See COMPLETE
(String) ERROR
See ERROR
(String) CANCELED
See CANCELED
(Array<String>) ALL
Collection of all defined phase

Class Method Summary

Class Method Details

. (void) follower(phase)

Retrieve the expected succeeding phase for the given phase

. (void) predecessor(phase)

Retrieve the preceeding phase for the given phase

Constructor Details

# (void) constructor()

    Quickly fuzzy find classes, mixins, methods, file:

    Control the navigation frame:

    You can focus and blur the search input: