public void SetNotifyOnEnqueue(Utils.INotifyable notifyOnEnqueue) { lock (queueMutex) { mesgEnqueuedNotify = notifyOnEnqueue; } }