示例#1
0
 private void createMeeting(string client_id, MeetingProposal proposal)
 {
     proposal.setRoomsManager(this.roomsManager);
     if (!this.meetings.ContainsKey(client_id))
     {
         this.meetings[client_id] = new HashSet <MeetingProposal>();
     }
     this.meetings[client_id].Add(proposal);
 }
示例#2
0
 public CreateCommand(string topic, int min_attendees, int nr_slots, int nr_invitees, List <Slot> slots, List <string> invitees)
 {
     this.topic         = topic;
     this.min_attendees = min_attendees;
     this.nr_slots      = nr_slots;
     this.nr_invitees   = nr_invitees;
     this.slots         = slots;
     this.invitees      = invitees;
     this.meeting       = new MeetingProposal(this.getIssuerId(), this.topic, this.min_attendees, this.slots, this.invitees);
 }
示例#3
0
 private void joinMeeting(string client_id, MeetingProposal proposal, List <Slot> desiredSlots)
 {
     proposal.addParticipant(client_id, desiredSlots);
 }
示例#4
0
 public void addMeeting(MeetingProposal proposal)
 {
 }