public ClientQueue(Guid id, ParticipantModel participant) { m_Participant = participant; m_IsPublicNode = false; m_Participant.Changed["Role"].Add(new PropertyEventHandler(OnRoleChanged)); using (Synchronizer.Lock(m_Participant.SyncRoot)) { if (m_Participant.Groups.Contains(Group.AllPublic)) { m_IsPublicNode = true; } } this.m_Id = id; this.m_List = new LinkedList <SendParameters>(); this.m_SlideQueues = new Hashtable(); this.m_ReconnectBuffer = new ReconnectBuffer(); }
public ClientQueue(Guid id, ParticipantModel participant) { m_Participant = participant; m_IsPublicNode = false; m_Participant.Changed["Role"].Add(new PropertyEventHandler(OnRoleChanged)); using (Synchronizer.Lock(m_Participant.SyncRoot)) { if (m_Participant.Groups.Contains(Group.AllPublic)) { m_IsPublicNode = true; } } this.m_Id = id; this.m_List = new LinkedList<SendParameters>(); this.m_SlideQueues = new Hashtable(); this.m_ReconnectBuffer = new ReconnectBuffer(); }