/// <summary>
 /// Constructor for specifying a Background Instance of RBrokerWorker
 /// </summary>
 /// <param name="task">BackgroundTask reference</param>
 /// <param name="executorTaskRef">Reserved for future use</param>
 /// <param name="isPriorityTask">Boolean indicating if this ia high priority task</param>
 /// <param name="rUser">RUser reference</param>
 /// <param name="resourceToken">integer referencing the token from the reosurce pool</param>
 /// <param name="rBroker">RBroker reference</param>
 /// <remarks></remarks>
 public BackgroundTaskWorker(BackgroundTask task,
                             long executorTaskRef,
                             Boolean isPriorityTask,
                             RUser rUser,
                             int resourceToken,
                             RBroker rBroker)
 {
     m_task = task;
     m_executorTaskRef = executorTaskRef;
     m_isPriorityTask = isPriorityTask;
     m_rUser = rUser;
     m_resourceToken = resourceToken;
     m_rBroker = (BackgroundTaskBroker) rBroker;
 }
예제 #2
0
        /// <summary>
        /// Constructor for specifying a Background Instance of RBrokerWorker
        /// </summary>
        /// <param name="task">BackgroundTask reference</param>
        /// <param name="executorTaskRef">Reserved for future use</param>
        /// <param name="isPriorityTask">Boolean indicating if this ia high priority task</param>
        /// <param name="rUser">RUser reference</param>
        /// <param name="resourceToken">integer referencing the token from the reosurce pool</param>
        /// <param name="rBroker">RBroker reference</param>
        /// <remarks></remarks>
        public BackgroundTaskWorker(BackgroundTask task,
                                    long executorTaskRef,
                                    Boolean isPriorityTask,
                                    RUser rUser,
                                    int resourceToken,
                                    RBroker rBroker) 
        {

            m_task = task;
            m_executorTaskRef = executorTaskRef;
            m_isPriorityTask = isPriorityTask;
            m_rUser = rUser;
            m_resourceToken = resourceToken;
            m_rBroker = (BackgroundTaskBroker) rBroker;

        }