C# Class Opc.Ua.ServerTest.MainForm

Inheritance: System.Windows.Forms.Form
Datei anzeigen Open project: OPCFoundation/UA-.NET

Public Methods

Method Description
CertificateValidator_CertificateValidation ( CertificateValidator validator, CertificateValidationEventArgs e ) : void

Accepts server certificates.

EndpointsCTRL_ConnectEndpoint ( object sender, ConnectEndpointEventArgs e ) : void
MainForm ( ) : System

Loads the configuration and initializes the form.

TestClient_ReportTestProgress ( object sender, ServerTestClient e ) : void

Protected Methods

Method Description
Dispose ( bool disposing ) : void

Clean up any resources being used.

Private Methods

Method Description
CheckNodeIdMI_Click ( object sender, EventArgs e ) : void
CreateSession ( ) : Session

Creates a new session.

EndpointsCTRL_OnChange ( object sender, EventArgs e ) : void
File_ExitMI_Click ( object sender, EventArgs e ) : void
File_LoadMI_Click ( object sender, EventArgs e ) : void
File_RecentFilesMI_Click ( object sender, EventArgs e ) : void
File_RecentFilesMI_MouseEnter ( object sender, EventArgs e ) : void
File_SaveMI_Click ( object sender, EventArgs e ) : void
InitializeComponent ( ) : void

Required method for Designer support - do not modify the contents of this method with the code editor.

IsUsingNativeStack ( ) : bool
LoadConfiguration ( string filePath ) : void

Loads the test configuration from a file.

LogMessage ( string message ) : void

Logs a message.

Run ( object state ) : void

Runs the tests.

RunCompleted ( object exception ) : void

Called when the test run completes.

SetRunning ( bool running ) : void

Toggles the test state between running and stopped.

StopBTN_MouseUp ( object sender, MouseEventArgs e ) : void
Stop_Click ( object sender, EventArgs e ) : void
Stop_MouseDown ( object sender, MouseEventArgs e ) : void
TestClient_ReportTestResult ( object sender, ServerTestClient e ) : void
TestMI_DropDownOpening ( object sender, EventArgs e ) : void
Test_AlwaysCheckSizesMI_Click ( object sender, EventArgs e ) : void
Test_BrowseRootsMI_Click ( object sender, EventArgs e ) : void
Test_BrowseWriteableMI_Click ( object sender, EventArgs e ) : void
Test_ContinuousMI_CheckStateChanged ( object sender, EventArgs e ) : void
Test_RunMI_Click ( object sender, EventArgs e ) : void
Test_UseNativeEncodersMI_CheckStateChanged ( object sender, EventArgs e ) : void
Test_UseNativeStackMI_Click ( object sender, EventArgs e ) : void

Method Details

CertificateValidator_CertificateValidation() public method

Accepts server certificates.
public CertificateValidator_CertificateValidation ( CertificateValidator validator, CertificateValidationEventArgs e ) : void
validator CertificateValidator
e CertificateValidationEventArgs
return void

Dispose() protected method

Clean up any resources being used.
protected Dispose ( bool disposing ) : void
disposing bool true if managed resources should be disposed; otherwise, false.
return void

EndpointsCTRL_ConnectEndpoint() public method

public EndpointsCTRL_ConnectEndpoint ( object sender, ConnectEndpointEventArgs e ) : void
sender object
e Opc.Ua.Client.Controls.ConnectEndpointEventArgs
return void

MainForm() public method

Loads the configuration and initializes the form.
public MainForm ( ) : System
return System

TestClient_ReportTestProgress() public method

public TestClient_ReportTestProgress ( object sender, ServerTestClient e ) : void
sender object
e ServerTestClient
return void