/**********************************************************/ public void queueOptUpdate(List <oadrDistributeEventTypeOadrEvent> evts, OptTypeType optType) { lock (m_qOptUpdate) { OptUpdate optUpdate = new OptUpdate(evts, optType); m_qOptUpdate.Enqueue(optUpdate); } }
/**********************************************************/ public CreatedEvent processOptUpdate(VEN2b ven, string requestID) { lock (m_qOptUpdate) { if (m_qOptUpdate.Count == 0) { return(null); } OptUpdate optUpdate = m_qOptUpdate.Dequeue(); return(ven.createdEvent(requestID, optUpdate.Evts, optUpdate.OptType)); } }