public static void Main(string[] argv) { Filter1 srv = new Filter1(); try { srv.ConfigSetName("filter"); srv.LinkCreate(argv); srv.ProcessEvent(MqS.WAIT.FOREVER); } catch (Exception ex) { srv.ErrorSet (ex); } srv.Exit(); }
public static void Main(string[] argv) { Filter1 srv = new Filter1(); try { srv.ConfigSetName("filter"); srv.LinkCreate(argv); srv.ProcessEvent(MqS.WAIT.FOREVER); } catch (Exception ex) { srv.ErrorSet(ex); } srv.Exit(); }
public static void Main(string[] argv) { Filter1 srv = MqFactoryS <Filter1> .New("filter"); try { srv.LinkCreate(argv); srv.ServiceCreate("+FTR", srv.FTR); srv.ServiceCreate("+EOF", srv.EOF); srv.ProcessEvent(MqS.WAIT.FOREVER); } catch (Exception ex) { srv.ErrorSet(ex); } srv.Exit(); }