Exemplo n.º 1
0
		/// <summary>
		/// This method resets the job to its unitialized state.
		/// </summary>
		public override void Reset()
		{
			mSessionID = null;
			mJobID = null;
			mData = null;
			mSignature = null;
			mPriority= JobPriority.Normal;
            mEnvelopeHelper = null;
		}
Exemplo n.º 2
0
		/// <summary>
		/// This method initializes the job.
		/// </summary>
		/// <param name="sessionid">The session id</param>
		/// <param name="id">The job id</param>
		/// <param name="data">The data</param>
		/// <param name="signature">The signature</param>
		/// <param name="priority">The job priority.</param>
		public void Initialize(Guid sessionid, Guid id, IXimuraRQRSEnvelope data,
            JobSignature signature, JobPriority priority, IXimuraEnvelopeHelper envelopeHelper)
		{
			try
			{
				mSessionID = sessionid;
				mJobID = id;
				mData = data;
				mSignature = signature;
				mPriority = priority;
                mEnvelopeHelper = envelopeHelper;
			}
			catch (Exception ex)
			{
				Reset();
				throw ex;
			}
		}