Esempio n. 1
0
 void OnChannelFileWatcherChanged(object sender, System.IO.FileSystemEventArgs e)
 {
     log.WriteInfo("Channel File Watcher Fired");
     Heartbeat.SendAndReceiveImmediately();
 }
 private void AddLoginCmdGlobalCommandHandler(string command)
 {
     Heartbeat.SendCommand(CMD_AddLoginCmdGlobal + command);
     Heartbeat.SendAndReceiveImmediately();
 }
 private void KillAllClientsCommandHandler(string command)
 {
     Heartbeat.SendCommand(CMD_KillAllClients);
     Heartbeat.SendAndReceiveImmediately();
 }
 private void UnlockWindowPositionCommandHandler(string command)
 {
     Heartbeat.SendCommand(CMD_UnlockWindowPosition);
     Heartbeat.SendAndReceiveImmediately();
     Debug.WriteToChat("The window positions are unlocked, moving windows will now save their position.");
 }
 private void LockWindowPositionCommandHandler(string command)
 {
     Heartbeat.SendCommand(CMD_LockWindowPosition);
     Heartbeat.SendAndReceiveImmediately();
     Debug.WriteToChat("The window positions are saved and will no longer be modified.");
 }
 private void DisableWindowPositionCommandHandler(string command)
 {
     Heartbeat.SendCommand(CMD_DisableWindowPosition);
     Heartbeat.SendAndReceiveImmediately();
     Debug.WriteToChat("The window positions will no longer be saved or restored.");
 }