ClassCommunicator
The Communicator is used by the QA/Results viewer to get the results of the test runs and to push scheduled runs to the server It also holds the WCF Channel proxy creation
Definition
Namespace:ArtOfTest.WebAii.Design.Execution.Scheduling
Assembly:ArtOfTest.WebAii.Design.dll
Syntax:
public sealed class Communicator
Inheritance: objectCommunicator
Constructors
Communicator()
Declaration
public Communicator()
Fields
SchedulingClientExePath
Declaration
public static readonly string SchedulingClientExePath
Field Value
Properties
DefaultServiceUrl
Gets the default service URL.
Declaration
public static string DefaultServiceUrl { get; }
Property Value
The default service URL.
IsSchedulingServiceChannelOpen
Gets or sets a value indicating whether the Scheduling service channel is open.
Declaration
public static bool IsSchedulingServiceChannelOpen { get; }
Property Value
true if this instance is scheduling service channel open; otherwise, false.
SchedulingServer
Gets the scheduling service proxy.
Declaration
public static IExecutionManagerCommunicationLayer SchedulingServer { get; }
Property Value
IExecutionManagerCommunicationLayer
The scheduling service.
SchedulingServiceChannelError
Gets or sets the scheduling service channel error if any.
Declaration
public static string SchedulingServiceChannelError { get; }
Property Value
The scheduling service channel error.
Methods
GetCloudDataBusAsync()
Declaration
public static Task<IRepositoryDataBus> GetCloudDataBusAsync()
Returns
OpenChannel(string)
Opens channel to any given machine. This includes Server->Client and Clien->Server connections
Declaration
public static IExecutionManagerCommunicationLayer OpenChannel(string url)
Parameters
url
The URL.
Returns
IExecutionManagerCommunicationLayer
OpenChannelAsync(string)
Async initialize of scheduling service comm layer
RefreshSchedulingServerAsync()
Update the SchedulingServer to reflect the latest connection settings
Events
Connected
This is a async event
ServerDown
This event is fired from a worker thread. Be careful with the UI changes.