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