Exemplo n.º 1
0
 public Match(int matchId, MatchRemover matchRemover,
              MatchmakerNotifier matchmakerNotifier)
 {
     this.matchId            = matchId;
     this.matchRemover       = matchRemover;
     this.matchmakerNotifier = matchmakerNotifier;
 }
 public MatchFactory(MatchRemover matchRemover, UdpSendUtils udpSendUtils,
                     MatchmakerNotifier matchmakerNotifier, IpAddressesStorage ipAddressesStorage,
                     MessageIdFactory messageIdFactory, MessagesPackIdFactory messagesPackIdFactory)
 {
     this.matchRemover          = matchRemover;
     this.udpSendUtils          = udpSendUtils;
     this.messageIdFactory      = messageIdFactory;
     this.messagesPackIdFactory = messagesPackIdFactory;
     this.matchmakerNotifier    = matchmakerNotifier;
     this.ipAddressesStorage    = ipAddressesStorage;
 }
 public MatchLifeCycleManager(MatchStorage matchStorage, MatchCreator matchCreator, MatchRemover matchRemover)
 {
     this.matchStorage = matchStorage;
     this.matchCreator = matchCreator;
     this.matchRemover = matchRemover;
 }