CodecFilterState enum

Various states that a CodecFilter transition through.

The codec filter is constructed with a default closed state. Then a transition to the init state is made after object construction Then a transition to the processing state is made after the call to CodecFilter._initFilter. Then a transition to the finalized state is made on the last CodecFilter.processed call. Finally a transition to the closed state is made on CodecFilter.close but before CodecFilter.doClose is called.

Inheritance
Available extensions

Values

init → const CodecFilterState

State after object construction, but before processing.

processing → const CodecFilterState

State during processing input to output.

finalized → const CodecFilterState

State on the last processing call.

closed → const CodecFilterState

State before init and once the codec is closed

Properties

hashCode int
The hash code for this object.
no setterinherited
index int
A numeric identifier for the enumerated value.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Constants

values → const List<CodecFilterState>
A constant List of the values in this enum, in order of their declaration.