public void addProcess(string ProcessName, string hostName, string Path, int port, bool local)
 {
     DistributedProcessModel tmpProc = new DistributedProcessModel(hostName, ProcessName, Path, port,  local);
     processList.Add(tmpProc);
 }
 public void removeProcess(DistributedProcessModel tmpProc)
 {
     processList.Remove(tmpProc);
 }
 public void disableLose(DistributedProcessModel proc)
 {
     proc.Routing.Faults.LoseMessage = false;
 }
 public void disableoutofOrder(DistributedProcessModel proc)
 {
     proc.Routing.Faults.ReverseOrderMessage = false;
 }
 public void corruptMessage(DistributedProcessModel proc)
 {
     proc.Routing.Faults.CorruptMessage = true;
 }
 public void disableDelay(DistributedProcessModel proc)
 {
     proc.Routing.Faults.DelayMessage = false;
 }
 public void stopCorrupt(DistributedProcessModel proc)
 {
     proc.Routing.Faults.CorruptMessage = false;
 }
 public void stopDuplicate(DistributedProcessModel proc)
 {
     proc.Routing.Faults.DelayMessage = false;
 }
 public void outofOrder(DistributedProcessModel proc)
 {
     proc.Routing.Faults.ReverseOrderMessage = true;
 }
 public void setDelay(DistributedProcessModel proc, int delay)
 {
     proc.Routing.Faults.Delay_ms = delay;
 }
 public void loseMessage(DistributedProcessModel proc)
 {
     proc.Routing.Faults.LoseMessage = true;
 }
 public void enableProcess(DistributedProcessModel proc)
 {
     proc.Routing.Faults.Disable_process = false;
 }
 public void enableDelay(DistributedProcessModel proc)
 {
     proc.Routing.Faults.DelayMessage = true;
 }
 public void duplicateMessage(DistributedProcessModel proc)
 {
     proc.Routing.Faults.DelayMessage = true;
 }
 public void disableProcess(DistributedProcessModel proc)
 {
     proc.Routing.Faults.Disable_process = true;
 }