protected TestRequestHandler(TestHostConnectionInfo connectionInfo, ICommunicationEndpointFactory communicationEndpointFactory, IDataSerializer dataSerializer, JobQueue <Action> jobQueue, Action <Message> onAckMessageRecieved) { this.communicationEndpointFactory = communicationEndpointFactory; this.ConnectionInfo = connectionInfo; this.dataSerializer = dataSerializer; this.requestSenderConnected = new ManualResetEventSlim(false); this.testHostManagerFactoryReady = new ManualResetEventSlim(false); this.sessionCompleted = new ManualResetEventSlim(false); this.onAckMessageRecieved = onAckMessageRecieved; this.jobQueue = jobQueue; }
public TestableTestRequestHandler( TestHostConnectionInfo testHostConnectionInfo, ICommunicationEndpointFactory communicationEndpointFactory, IDataSerializer dataSerializer, JobQueue <Action> jobQueue) : base( testHostConnectionInfo, communicationEndpointFactory, dataSerializer, jobQueue, OnLaunchAdapterProcessWithDebuggerAttachedAckReceived, OnAttachDebuggerAckRecieved) { }
protected TestRequestHandler(IDataSerializer dataSerializer, ICommunicationEndpointFactory communicationEndpointFactory) { this.dataSerializer = dataSerializer; this.communicationEndpointFactory = communicationEndpointFactory; this.requestSenderConnected = new ManualResetEventSlim(false); this.sessionCompleted = new ManualResetEventSlim(false); this.testHostManagerFactoryReady = new ManualResetEventSlim(false); this.onAckMessageRecieved = (message) => { throw new NotImplementedException(); }; this.jobQueue = new JobQueue <Action>( (action) => { action(); }, "TestHostOperationQueue", 500, 25000000, true, (message) => EqtTrace.Error(message)); }
public TestableTestRequestHandler(TestHostConnectionInfo testHostConnectionInfo, ICommunicationEndpointFactory communicationEndpointFactory, IDataSerializer dataSerializer, JobQueue <Action> jobQueue) : base(testHostConnectionInfo, communicationEndpointFactory, dataSerializer, jobQueue, OnAckMessageReceived) { }