Example #1
0
        public void InitProcess(string procName)
        {
            string queueName = "ClientQueue";

            clientProcess = null;
            if (procName != null)
            {
                queueName     = "ServerQueue";
                clientProcess = new Process();
                clientProcess.StartInfo.FileName = procName;
            }
            QueueCommon.ConnectionDetail listenDetail = thisConnectionDetail.UpdateQueueDetail(queueName, thisConnectionDetail.routeKeys);
            queueClient = new QueueingModel(listenDetail);
        }
Example #2
0
 private void BaseInit(ConnectionDetail connDetail)
 {
     thisConnDetail = connDetail.Copy();
 }
Example #3
0
 public Queue(Exchange exch, ConnectionDetail conn)
 {
     BaseInit(conn);
     thisExch = exch;    // the assumption is that this is pretty fully initialized by now...
     InitQueue();
 }
Example #4
0
 public Exchange(ConnectionDetail connDetail)
 {
     BaseInit(connDetail);
     InitExchange();
 }