// GarageMediator will request to start the servers, which will be granted // and its state moved into the listening state public override void Change(GarageMediator context) { context.MicroCommunication.StartServer(); context.RFIDCommunication.StartServer(); context.State = new MediatorListeningState(context); }
public override void Change(GarageMediator context) { context.State = new MediatorReadyState(); }