コード例 #1
0
 public void QueueMonitorGroupClosed(QueueMonitorGroup qmg)
 {
     lock (this.thisLock)
     {
         this.groups.Remove(qmg.ListenerChannelContext.ListenerChannelId);
     }
 }
コード例 #2
0
 public QueueMonitor(Uri uri, QueueMonitorGroup group)
 {
     // The defaults don't really matter here - we don't use
     // the buffer manager.
     this.group     = group;
     this.queueName = MsmqFormatName.ToSystemMessagingQueueName(MsmqUri.UriToFormatNameByScheme(uri));
     this.peeking   = false;
     Debug.Print("opening queue: " + this.queueName);
 }
コード例 #3
0
            public IActivatedMessageQueue CreateQueue(ListenerAdapter la, App app)
            {
                QueueMonitorGroup qmg = new QueueMonitorGroup(this, la, app);

                lock (this.thisLock)
                {
                    this.groups[qmg.ListenerChannelContext.ListenerChannelId] = qmg;
                }
                return(qmg);
            }
コード例 #4
0
 public ActivationBindingFilter(QueueMonitorGroup group, string path)
     : base(path, MsmqUri.NetMsmqAddressTranslator)
 {
     this.group = group;
 }
コード例 #5
0
ファイル: MsmqActivation.cs プロジェクト: JianwenSun/cc
 public QueueMonitor(Uri uri, QueueMonitorGroup group)
 {
     // The defaults don't really matter here - we don't use
     // the buffer manager.
     this.group = group;
     this.queueName = MsmqFormatName.ToSystemMessagingQueueName(MsmqUri.UriToFormatNameByScheme(uri));
     this.peeking = false;
     Debug.Print("opening queue: " + this.queueName);
 }
コード例 #6
0
ファイル: MsmqActivation.cs プロジェクト: JianwenSun/cc
 public ActivationBindingFilter(QueueMonitorGroup group, string path)
     : base(path, MsmqUri.NetMsmqAddressTranslator)
 {
     this.group = group;
 }
コード例 #7
0
ファイル: MsmqActivation.cs プロジェクト: JianwenSun/cc
 public void QueueMonitorGroupClosed(QueueMonitorGroup qmg)
 {
     lock (this.thisLock)
     {
         this.groups.Remove(qmg.ListenerChannelContext.ListenerChannelId);
     }
 }
コード例 #8
0
ファイル: MsmqActivation.cs プロジェクト: JianwenSun/cc
 public IActivatedMessageQueue CreateQueue(ListenerAdapter la, App app)
 {
     QueueMonitorGroup qmg = new QueueMonitorGroup(this, la, app);
     lock (this.thisLock)
     {
         this.groups[qmg.ListenerChannelContext.ListenerChannelId] = qmg;
     }
     return qmg;
 }