Esempio n. 1
0
        public PingApp(SampleSettings settings)
        {
            // Configuring PingApp to send PingMessage's
            // to the PongApp
            Publish.Message <PingMessage>()
            .To(settings.Pinger);

            // Listen for incoming messages from "Pinger"
            Transports.ListenForMessagesFrom(settings.Pinger);
        }
Esempio n. 2
0
 public ListeningApp(SampleSettings settings)
 {
     // Listen for incoming messages from "Pinger"
     Transports.ListenForMessagesFrom(settings.Pinger);
 }