Esempio n. 1
0
        static void Main(string[] argv)
        {
            mulserver srv = MqFactoryS <mulserver> .Add("MyMulServer").New();

            try {
                srv.LinkCreate(argv);
                srv.ProcessEvent(MqS.WAIT.FOREVER);
            } catch (Exception ex) {
                srv.ErrorSet(ex);
            }
            srv.Exit();
        }
Esempio n. 2
0
 static void Main(string[] argv)
 {
     mulserver srv = new mulserver();
       try {
     srv.ConfigSetName("MyMulServer");
     srv.LinkCreate(argv);
     srv.ProcessEvent(MqS.WAIT.FOREVER);
       } catch (Exception ex) {
     srv.ErrorSet (ex);
       }
       srv.Exit();
 }
Esempio n. 3
0
        static void Main(string[] argv)
        {
            mulserver srv = new mulserver();

            try {
                srv.ConfigSetName("MyMulServer");
                srv.LinkCreate(argv);
                srv.ProcessEvent(MqS.WAIT.FOREVER);
            } catch (Exception ex) {
                srv.ErrorSet(ex);
            }
            srv.Exit();
        }