예제 #1
0
 public JoinLotHandler(LotAllocations lots, LotServerPicker pickingEngine, IDAFactory da, CityServerContext context)
 {
     Lots          = lots;
     PickingEngine = pickingEngine;
     DAFactory     = da;
     Context       = context;
 }
예제 #2
0
 public VoltronConnectionLifecycleHandler(ISessions sessions, IDataService dataService, IDAFactory da, CityServerContext context, LotServerPicker lotServers)
 {
     this.VoltronSessions = sessions.GetOrCreateGroup(Groups.VOLTRON);
     this.DataService     = dataService;
     this.DAFactory       = da;
     this.Context         = context;
     this.LotServers      = lotServers;
 }
예제 #3
0
 public ChangeRoommateHandler(ISessions sessions, IDAFactory da, CityServerContext context, IDataService dataService, LotServerPicker lotServers, LotAllocations lots)
 {
     this.Sessions    = sessions;
     this.DAFactory   = da;
     this.Context     = context;
     this.DataService = dataService;
     this.LotServers  = lotServers;
     this.Lots        = lots;
 }
예제 #4
0
 public VoltronConnectionLifecycleHandler(ISessions sessions, IDataService dataService, IDAFactory da, CityServerContext context, LotServerPicker lotServers, CityLivenessEngine engine,
                                          EventSystem events)
 {
     VoltronSessions = sessions.GetOrCreateGroup(Groups.VOLTRON);
     Sessions        = sessions;
     DataService     = dataService;
     DAFactory       = da;
     Context         = context;
     LotServers      = lotServers;
     Liveness        = engine;
     Events          = events;
 }
 public VoltronConnectionLifecycleHandler(ISessions sessions, IDataService dataService, IDAFactory da, CityServerContext context, LotServerPicker lotServers, CityLivenessEngine engine,
                                          EventSystem events, Neighborhoods neigh)
 {
     this.VoltronSessions = sessions.GetOrCreateGroup(Groups.VOLTRON);
     this.Sessions        = sessions;
     this.DataService     = dataService;
     this.DAFactory       = da;
     this.Context         = context;
     this.LotServers      = lotServers;
     this.Liveness        = engine;
     this.Events          = events;
     this.Neigh           = neigh;
 }
예제 #6
0
 public LotServerShutdownResponseHandler(LotServerPicker picker)
 {
     this.Picker = picker;
 }
예제 #7
0
 public LotServerLifecycleHandler(LotServerPicker pickingEngine)
 {
     PickingEngine = pickingEngine;
 }