static void Main(string[] argv) { mulserver srv = MqFactoryS <mulserver> .Add("MyMulServer").New(); try { srv.LinkCreate(argv); srv.ProcessEvent(MqS.WAIT.FOREVER); } catch (Exception ex) { srv.ErrorSet(ex); } srv.Exit(); }
static void Main(string[] argv) { mulserver srv = new mulserver(); try { srv.ConfigSetName("MyMulServer"); srv.LinkCreate(argv); srv.ProcessEvent(MqS.WAIT.FOREVER); } catch (Exception ex) { srv.ErrorSet (ex); } srv.Exit(); }
static void Main(string[] argv) { mulserver srv = new mulserver(); try { srv.ConfigSetName("MyMulServer"); srv.LinkCreate(argv); srv.ProcessEvent(MqS.WAIT.FOREVER); } catch (Exception ex) { srv.ErrorSet(ex); } srv.Exit(); }