Beispiel #1
0
 /// <summary>
 /// Constructs the factory.
 /// </summary>
 /// <param name="protocolFormatter">formatter used to encode low-level messages between channels</param>
 public ThreadPoolMessagingSystemFactory(IProtocolFormatter protocolFormatter)
 {
     using (EneterTrace.Entering())
     {
         myDefaultMessagingFactory = new DefaultMessagingSystemFactory(new ThreadPoolMessagingProvider(), protocolFormatter);
     }
 }
 /// <summary>
 /// Constructs the factory representing the messaging system.
 /// </summary>
 /// <param name="protocolFormatter">formatter used to encode low-level messages between channels</param>
 public SynchronousMessagingSystemFactory(IProtocolFormatter protocolFormatter)
 {
     using (EneterTrace.Entering())
     {
         myDefaultMessagingFactory = new DefaultMessagingSystemFactory(new SynchronousMessagingProvider(), protocolFormatter);
     }
 }