Beispiel #1
0
        public static void Main(String[] argv)
        {
            Filter2 srv = MqFactoryS <Filter2> .Add("filter").New();

            try {
                srv.LinkCreate(argv);
                srv.ServiceCreate("+FTR", srv.FTR);
                srv.ServiceProxy("+EOF");
                srv.ProcessEvent(MqS.WAIT.FOREVER);
            } catch (Exception ex) {
                srv.ErrorSet(ex);
            }
            srv.Exit();
        }
Beispiel #2
0
 public static void Main(String[] argv)
 {
     Filter2 srv = new Filter2();
       try {
     srv.ConfigSetName("filter");
     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();
 }
Beispiel #3
0
        public static void Main(String[] argv)
        {
            Filter2 srv = new Filter2();

            try {
                srv.ConfigSetName("filter");
                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();
        }