コード例 #1
0
 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();
 }
コード例 #2
0
        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();
        }
コード例 #3
0
        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();
        }
コード例 #4
0
 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();
 }