public virtual IMessageCtrl AsyncProcessMessage(IMessage reqMsg, IMessageSink replySink) { WorkItem work = new WorkItem(reqMsg, this._nextSink, replySink); work.SetAsync(); this._property.HandleWorkRequest(work); return null; }
public virtual IMessage SyncProcessMessage(IMessage reqMsg) { WorkItem work = new WorkItem(reqMsg, this._nextSink, null); this._property.HandleWorkRequest(work); return work.ReplyMessage; }