예제 #1
0
 public MultiHashRequestProducer(IEventConduit eventConduit)
 {
     EventConduit = eventConduit;
     eventConduit.AddEventListener(this);
     SubmittedApplicationHashes = new HashSet <string>();
     PendingApplications        = new ConcurrentQueue <IApplication>();
 }
예제 #2
0
 public ProducerController(IEventConduit eventConduit)
 {
     EventConduit        = eventConduit;
     ConnectionProducer  = new ConnectionProducer(eventConduit);
     ApplicationProducer = new WindowsApplicationProducer(eventConduit);
     RequestProducer     = new MultiHashRequestProducer(eventConduit);
     ResultProducer      = new ExecutedHashRequestProducer(eventConduit);
 }
예제 #3
0
 public ConnectionProducer(IEventConduit eventConduit)
 {
     EventConduit = eventConduit;
 }
 public WindowsApplicationProducer(IEventConduit eventConduit)
 {
     EventConduit = eventConduit;
     eventConduit.AddEventListener(this);
 }
예제 #5
0
 public ExecutedHashRequestProducer(IEventConduit eventConduit)
 {
     EventConduit = eventConduit;
     eventConduit.AddEventListener(this);
     RequestsToExecute = new ConcurrentQueue <IRequest>();
 }