Example #1
0
        /// <summary>
        /// Sets the GMS implementation to a participant
        /// </summary>
        public void becomeParticipant()
        {
            ParticipantGmsImpl tmp = (ParticipantGmsImpl)impls[PART];

            if (tmp == null)
            {
                tmp = new ParticipantGmsImpl(this);
                impls.Add(PART, tmp);
            }
            tmp.leaving = false;
            setImpl(tmp);
            if (Trace.trace)
            {
                Trace.info("GMS.becomeParticipant()", local_addr + " became participant");
            }
        }
Example #2
0
        /// <summary>
        /// Sets the GMS implementation to a participant
        /// </summary>
        public void becomeParticipant()
        {
            ParticipantGmsImpl tmp=(ParticipantGmsImpl)impls[PART];

            if(tmp == null)
            {
                tmp=new ParticipantGmsImpl(this);
                impls.Add(PART, tmp);
            }
            tmp.leaving=false;
            setImpl(tmp);
            if(Trace.trace) Trace.info("GMS.becomeParticipant()", local_addr + " became participant");
        }