Exemplo n.º 1
0
 internal static void Start()
 {
     if (!CommunicationThread.ThreadIsRunning)
     {
         CommunicationThread.ThreadStart();
     }
 }
Exemplo n.º 2
0
        internal static void Stop()
        {
            if (ServiceHost != null)
            {
                Log.Info("Stopped Server on '{0}' ", ServerUri.AbsoluteUri + "Follow");
                ServiceHost.Close();
                ServiceHost = null;
            }

            CommunicationThread.ThreadShutdown();
            ServerInitialized = false;
        }
Exemplo n.º 3
0
 public static void Initialize()
 {
     Pulsator.OnPulse += (sender, args) => CommunicationThread.ThreadStart();
 }