public void sendMessagesToNewKernel() { DI.log.info("in sendMessagesToNewKernel"); o2WcfProxy = O2WcfUtils.createClientProxy(newO2KernelProcessName); Assert.That(o2WcfProxy.allOK(), "o2WcfProxy.allOK() returned false"); Assert.That(!string.IsNullOrEmpty(o2WcfProxy.getName()), "o2WcfProxy.getName() was null or empty"); DI.log.info("o2WcfProxy Name: {0}", o2WcfProxy.getName()); o2WcfProxy.o2ShellCommand("echo Hello_from_another_process"); }
public void CreateRemoteO2KernelAndGetProxy() { var newO2KernelProcessName = "Client_O2Kernel"; DI.log.info("Creating new O2Kernel Process with Name: {0}", DI.config.O2KernelAssemblyName); Processes.startProcess(DI.config.O2KernelAssemblyName, newO2KernelProcessName); o2WcfProxy = O2WcfUtils.createClientProxy(newO2KernelProcessName); Assert.That(o2WcfProxy.allOK(), "o2WcfProxy.allOK() returned false"); Assert.That(!string.IsNullOrEmpty(o2WcfProxy.getName()), "o2WcfProxy.getName() was null or empty"); }