Exemple #1
0
        /// <summary>
        ///
        /// </summary>
        static void Main(string[] args)
        {
            if (args.Length == 0)
            {
                PrintUsage();
                return;
            }

            switch (args[0])
            {
            case "ReqRep": ReqRep.Execute(args);
                break;

            case "Pair": Pair.Execute(args);
                break;

            case "Listener": Listener.Execute(args);
                break;

            case "Survey": Survey.Execute(args);
                break;

            case "pubsub": PubSub.Execute(args);
                break;

            case "bus": Bus.Execute(args);
                break;

            default:
                PrintUsage();
                break;
            }
        }
Exemple #2
0
        /// <summary>
        ///
        /// </summary>
        static void Main(string[] args)
        {
            if (args.Length == 0)
            {
                PrintUsage();
                return;
            }

            switch (args[0])
            {
            case "ReqRep": ReqRep.Execute(args);
                break;

            case "Pair": Pair.Execute(args);
                break;

            case "Listener": Listener.Execute(args);
                break;

            default:
                PrintUsage();
                break;
            }
        }