C# Class Opc.Ua.ServerTest.SessionTest

Browses all of the nodes in the hierarchies.
Inheritance: TestBase
ファイルを表示 Open project: OPCFoundation/UA-.NET Class Usage Examples

Public Methods

Method Description
Run ( ServerTestCase testcase, int iteration ) : bool

Runs the test for all of the browse roots.

SessionTest ( Session session, ServerTestConfiguration configuration, ReportMessageEventHandler reportMessage, ReportProgressEventHandler reportProgress, TestBase template ) : System

Creates the test object.

Session_KeepAlive ( Session session, KeepAliveEventArgs e ) : void

Reports keep alive responses from the server.

Session_Notification ( Session session, NotificationEventArgs e ) : void
Session_Reconnect ( Session session, KeepAliveEventArgs e ) : void

Reports keep alive responses from the server.

Private Methods

Method Description
DoKeepAliveTest ( ) : bool

Tests the session keep alive when there are no errors.

DoReconnectTest ( ) : bool

Tests the session reconnect.

Method Details

Run() public method

Runs the test for all of the browse roots.
public Run ( ServerTestCase testcase, int iteration ) : bool
testcase ServerTestCase
iteration int
return bool

SessionTest() public method

Creates the test object.
public SessionTest ( Session session, ServerTestConfiguration configuration, ReportMessageEventHandler reportMessage, ReportProgressEventHandler reportProgress, TestBase template ) : System
session Opc.Ua.Client.Session
configuration ServerTestConfiguration
reportMessage ReportMessageEventHandler
reportProgress ReportProgressEventHandler
template TestBase
return System

Session_KeepAlive() public method

Reports keep alive responses from the server.
public Session_KeepAlive ( Session session, KeepAliveEventArgs e ) : void
session Opc.Ua.Client.Session
e Opc.Ua.Client.KeepAliveEventArgs
return void

Session_Notification() public method

public Session_Notification ( Session session, NotificationEventArgs e ) : void
session Opc.Ua.Client.Session
e Opc.Ua.Client.NotificationEventArgs
return void

Session_Reconnect() public method

Reports keep alive responses from the server.
public Session_Reconnect ( Session session, KeepAliveEventArgs e ) : void
session Opc.Ua.Client.Session
e Opc.Ua.Client.KeepAliveEventArgs
return void