DirectiveHandler

interface DirectiveHandler

The interface for directive handler

Functions

Link copied to clipboard
abstract fun cancelDirective(messageId: String)

Cancel directive which prehandled or handling.

Link copied to clipboard
abstract fun handleDirective(messageId: String): Boolean

Handle directive which preHandled.

Link copied to clipboard
abstract fun preHandleDirective(directive: Directive, result: DirectiveHandlerResult)

Perform pre-processing before handleDirective. This will be called regardless of BlockingPolicy

Properties

Link copied to clipboard
abstract val configurations: Map<NamespaceAndName, BlockingPolicy>