Пример #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();
        }
Пример #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();
 }
Пример #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();
        }