public Port getPort(string portName) { Port port = framework.getServicePort(cid, mkPortName(portName)); if (port == null) { port = framework.getPort(mkPortName(portName)); } return(port); }
// SERVICES ============================================================================================== public Port getPort(string portName) { //Console.WriteLine ("WorkerServicesImpl 1 - getPort(" + portName + ")"); Port port = framework.getServicePort(cid, mkPortName(portName)); //Console.WriteLine ("WorkerServicesImpl 2 - getPort(" + portName + ")"); if (port == null) { port = framework.getPort(mkPortName(portName)); // Console.WriteLine ("WorkerServicesImpl 3 - getPort(" + portName + ") " + port.GetType()); } return(port); }