Example #1
0
        public List <JoinGroupRequest> GetJoinRequests(int count)
        {
            int i = 0;
            List <JoinGroupRequest> reqs = new List <JoinGroupRequest>();

            while (i < count && peerGroup.GetJoinQueueingCount() > 0)
            {
                reqs.Add(peerGroup.DequeueJoinRequest());
            }
            return(reqs);
        }