Example #1
0
 public IMessageCtrl AsyncProcessMessage(IMessage msg, IMessageSink replySink)
 {
     if (_att.IsReEntrant)
     {
         _att.ReleaseLock();                     // Unlock when leaving the context
         replySink = new SynchronizedContextReplySink(replySink, _att, true);
     }
     return(_next.AsyncProcessMessage(msg, replySink));
 }
 public IMessageCtrl AsyncProcessMessage(IMessage msg, IMessageSink replySink)
 {
     if (this._att.IsReEntrant)
     {
         this._att.ReleaseLock();
         replySink = new SynchronizedContextReplySink(replySink, this._att, true);
     }
     return(this._next.AsyncProcessMessage(msg, replySink));
 }
Example #3
0
 public IMessageCtrl AsyncProcessMessage(IMessage msg, IMessageSink replySink)
 {
     _att.AcquireLock();
     replySink = new SynchronizedContextReplySink(replySink, _att, false);
     return(_next.AsyncProcessMessage(msg, replySink));
 }
		public IMessageCtrl AsyncProcessMessage (IMessage msg, IMessageSink replySink)
		{
			_att.AcquireLock ();
			replySink = new SynchronizedContextReplySink (replySink, _att, false);
			return _next.AsyncProcessMessage (msg, replySink);
		}
		public IMessageCtrl AsyncProcessMessage (IMessage msg, IMessageSink replySink)
		{
			if (_att.IsReEntrant)
			{
				_att.ReleaseLock();	// Unlock when leaving the context
				replySink = new SynchronizedContextReplySink (replySink, _att, true);
			}
			return _next.AsyncProcessMessage (msg, replySink);
		}