Exemplo n.º 1
0
 public BondWorkerServer(LoggingContext loggingContext, WorkerService workerService, int port, DistributionServices services)
 {
     m_loggingContext     = loggingContext;
     m_port               = port;
     m_workerService      = workerService;
     m_tracingBondService = new TracingBondService(port, this, services, loggingContext,
                                                   TracingBondService.GenerateRegistrationVoid <BuildStartData>("Attach"),
                                                   TracingBondService.GenerateRegistrationVoid <PipBuildRequest>("ExecutePips"),
                                                   TracingBondService.GenerateRegistrationVoidVoid("Exit"),
                                                   TracingBondService.GenerateRegistrationVoidVoid("Heartbeat"));
 }
Exemplo n.º 2
0
 /// <nodoc/>
 public void Start(int port)
 {
     // Create a bond host with a tracing bond service to trace bond calls.
     m_server = new BondTcpHost((ushort)port, IPAddress.Any, new TracingBondService(port, this, m_masterService.DistributionServices, m_loggingContext,
                                                                                    TracingBondService.GenerateRegistrationVoid <AttachCompletionInfo>("AttachCompleted"),
                                                                                    TracingBondService.GenerateRegistrationVoid <WorkerNotificationArgs>("Notify"),
                                                                                    TracingBondService.GenerateRegistrationVoidVoid("Heartbeat")));
 }
Exemplo n.º 3
0
 public abstract void Register(TracingBondService tracingService);