Exemplo n.º 1
0
        public void Start()
        {
            OP.Start(_Details.WebPort);
            WebService WebService = new WebService();

            WebService.Start(OP.Use(_Details.WebPort));
        }
Exemplo n.º 2
0
        public void Start()
        {
            OP.Start(_Details.LoginSignUpNewTripPort);
            OP.Start(_Details.NotificationServicePort);
            OP.Start(_Details.LocationServicePort);
            OP.Start(_Details.TripPort_INPUT);
            OP.Start(_Details.TripPort_OUTPUT);
            OP.Start(_Details.LargeFilesPort);
            OP.Start(_Details.GamesHostPort);

            List <Excursie> Excursii = new List <Excursie>();

            NotificationService          Notification       = new NotificationService();
            LocationService              Location           = new LocationService();
            Login_SignUp_NewTripServices LoginSignUp        = new Login_SignUp_NewTripServices();
            NewTrip_TripEnterServices    TripListener       = new NewTrip_TripEnterServices();
            LargeFilesTransfer           LargeFilesTransfer = new LargeFilesTransfer();
            GamesHost GamesHost = new GamesHost();

            Notification.Start(OP.Use(_Details.NotificationServicePort));
            Location.Start(OP.Use(_Details.LocationServicePort));
            LoginSignUp.Start(OP.Use(_Details.LoginSignUpNewTripPort));
            TripListener.Start(OP.Use(_Details.TripPort_INPUT), OP.Use(_Details.TripPort_OUTPUT), Location, Notification, Excursii);
            LargeFilesTransfer.Start(OP.Use(_Details.LargeFilesPort), Excursii);
            GamesHost.Start(OP.Use(_Details.GamesHostPort), Excursii);
        }