Пример #1
0
 public static void Main(String[] argv)
 {
     Filter2 srv = new Filter2();
       try {
     srv.ConfigSetName("filter");
     srv.LinkCreate(argv);
     srv.ProcessEvent(MqS.WAIT.FOREVER);
       } catch (Exception ex) {
     srv.ErrorSet (ex);
       }
       srv.Exit();
 }
Пример #2
0
        public static void Main(String[] argv)
        {
            Filter2 srv = new Filter2();

            try {
                srv.ConfigSetName("filter");
                srv.LinkCreate(argv);
                srv.ProcessEvent(MqS.WAIT.FOREVER);
            } catch (Exception ex) {
                srv.ErrorSet(ex);
            }
            srv.Exit();
        }
Пример #3
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();
        }
Пример #4
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();
 }
Пример #5
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();
        }