예제 #1
0
      public static void Main() {
         InitializeLogging();
         var courierFacade = CourierBuilder.Create()
                                           .UseUdpTransport()
                                           .UseTcpServerTransport(21337)
                                           .BuildAsync().Result;
         var testMob = new TestMob();
         courierFacade.MobOperations.RegisterMob(testMob);

         new CountdownEvent(1).Wait();
      }
예제 #2
0
        public static void Main()
        {
            InitializeLogging();
            var courierFacade = CourierBuilder.Create()
                                .UseUdpTransport()
                                .UseTcpServerTransport(21337)
                                .BuildAsync().Result;
            var testMob = new TestMob();

            courierFacade.MobOperations.RegisterMob(testMob);

            new CountdownEvent(1).Wait();
        }