Beispiel #1
0
        /// <summary>
        /// Reopen channel after its been closed
        /// </summary>
        public override void open()
        {
            if (!closed)
            {
                throw new Exception("GroupChannel.open(): channel is already open");
            }

            try
            {
                mq.reset();
                prot_stack.setup();
                closed = false;
            }
            catch (Exception e)
            {
                throw new Exception("GroupChannel.open(): ");
            }
        }
Beispiel #2
0
        }         // StopListening

        // -=-=-=-=-=-=-=- Group Channel Methods -=-=-=-=-=-=-=-=-=-=-=-

        /// <summary>
        /// Sets up the ProtocolSinkStack
        /// </summary>
        private void SetupChannel()
        {
            prot_stack = new ProtocolSinkStack(this, props);
            prot_stack.ResponseChooser = responseChooser;
            prot_stack.setup();
        }         // SetupChannel