Click or drag to resize

TaskQueueResolver Class

Resolves Task Queues and their processors based on the TaskQueueAttribute, TaskProcessorAttribute, and BroadcastProcessorAttribute and can register them with a TaskManager Not thread safe! Assumed it will only be accessed by the initialization thread.
Inheritance Hierarchy
SystemObject
  MFiles.VAF.AppTasksTaskQueueResolver

Namespace:  MFiles.VAF.AppTasks
Assembly:  MFiles.VAF (in MFiles.VAF.dll) Version: 2.3.623.2
Syntax
public class TaskQueueResolver

The TaskQueueResolver type exposes the following members.

Constructors
  NameDescription
Public methodTaskQueueResolver
Initializes a new instance of the TaskQueueResolver class
Top
Methods
  NameDescription
Public methodGetBroadcastProcessorMethodInfo
Gets the method info of a declared broadcast processor.
Public methodGetBroadcastProcessors
Gets the broadcast processors resolved for a queue.
Public methodGetBroadcastProcessorSettings
Gets the attribute declared for a braodcast processing method. Throws if the queue or task has not been resolved.
Public methodGetBroadcastTypes
Gets the broadcast types resolved for a specific queue.
Public methodGetProcessors
Gets the processors resolved for a queue.
Public methodGetQueueFieldInfo
Gets the field info on which the queue is declared. Note that queue's are not required to be declared, so this can be null.
Public methodGetQueues
Gets the ids of all resolved queues.
Public methodGetQueueSettings
Gets the attribute declared for a resolved queue, if one was used. Throws if the queue has not been resolved.
Public methodGetTaskProcessorMethodInfo
Gets the method info of a declared task processor.
Public methodGetTaskProcessors
Gets the task processors resolved for a queue.
Public methodGetTaskProcessorSettings
Gets the attribute declared for a task processing method. Throws if the queue or task has not been resolved.
Public methodGetTaskTypes
Gets the task types resolved for a specific queue.
Public methodInclude(IEnumerableObject)
Provides object instances and/or types from which the resolver can find queue and processor declarations.
Public methodInclude(Object)
Provides an object instance or type from which the resolver can find queue and processor declarations.
Public methodIsBroadcastProcessorDefined
Indicates whether a broadcast processor type has been resolved for a queue.
Public methodIsQueueDefined
Indicates whether a queue has been resolved.
Public methodIsTaskProcessorDefined
Indicates whether a task processor type has been resolved for a queue.
Public methodRegisterAll
Registers all known queues with a TaskManager.
Public methodRegisterQueue
Registers a queue with a TaskManager.
Top
See Also