Example #1
0
 public UdpListener(UdpListenerSection configuration, MessageQueue messageQueue, MessageFactory messageFactory)
     : base(configuration)
 {
     _messageQueue = messageQueue;
       _messageFactory = messageFactory;
       _udpClient = new UdpClient(configuration.Port);
 }
 public MessageFactory(MessageQueue messageQueue)
 {
     _messageQueue = messageQueue;
 }
 public MessageDispatcher(MessageDispatcherSection configuration, MessageQueue messageQueue, MessengerService messengerService)
     : base(configuration)
 {
     _messageQueue = messageQueue;
       _messengerService = messengerService;
 }