Ejemplo n.º 1
0
 public void Start()
 {
     if (_active)
     {
         _logger.Info("Initializing {0}", Name);
         Initialize();
         _logger.Info("Using IPAddress:{0} and Port:{1}", _server.IpAddress, _server.Port);
         _handlers.Clear();
         LoadHandles();
         _logger.Info("Loaded {0} handles", _handlers.Count);
         _server.Start();
     }
 }
Ejemplo n.º 2
0
 public void Start()
 {
     if (Settings.Active)
     {
         _handlers.Clear();
         LoadHandles();
         LoadScriptHandles();
         _logger.Info("Loaded {0} handles", _handlers.Count);
         _logger.Info("Listening: {0} Public: {1} Port: {2}", _server.IpAddress, Settings.PublicIpAddress,
                      _server.Port);
         _Start();
         Bridge.Start();
         _server.Start();
     }
 }