DirectiveSequenceable
public protocol DirectiveSequenceable
<#Description#>
-
Adds a delegate to be notified of
Directive
handling states.Declaration
Swift
func add(delegate: DirectiveSequencerDelegate)
Parameters
delegate
The object to add.
-
Removes a delegate from directive-sequencer.
Declaration
Swift
func remove(delegate: DirectiveSequencerDelegate)
Parameters
delegate
The object to remove.
-
Add directive handler.
You can add attachment handler also.
Declaration
Swift
func add(directiveHandleInfos: DirectiveHandleInfos)
-
Remove directive handler.
You can remove attachment handler also.
Declaration
Swift
func remove(directiveHandleInfos: DirectiveHandleInfos)
-
Dispatch directive to pre-registered handler
Declaration
Swift
func processDirective(_ directive: Downstream.Directive)
-
Dispatch attachment to pre-registered handler
Declaration
Swift
func processAttachment(_ attachment: Downstream.Attachment)