DirectiveSequenceable
public protocol DirectiveSequenceable
<#Description#>
-
Adds a delegate to be notified of
Directivehandling states.Declaration
Swift
func add(delegate: DirectiveSequencerDelegate)Parameters
delegateThe object to add.
-
Removes a delegate from directive-sequencer.
Declaration
Swift
func remove(delegate: DirectiveSequencerDelegate)Parameters
delegateThe 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)
View on GitHub
DirectiveSequenceable Protocol Reference