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