C# Класс Opc.Ua.ServerTest.SessionTest

Browses all of the nodes in the hierarchies.
Наследование: TestBase
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
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.

Приватные методы

Метод Описание
DoKeepAliveTest ( ) : bool

Tests the session keep alive when there are no errors.

DoReconnectTest ( ) : bool

Tests the session reconnect.

Описание методов

Run() публичный Метод

Runs the test for all of the browse roots.
public Run ( ServerTestCase testcase, int iteration ) : bool
testcase ServerTestCase
iteration int
Результат bool

SessionTest() публичный Метод

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
Результат System

Session_KeepAlive() публичный Метод

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
Результат void

Session_Notification() публичный Метод

public Session_Notification ( Session session, NotificationEventArgs e ) : void
session Opc.Ua.Client.Session
e Opc.Ua.Client.NotificationEventArgs
Результат void

Session_Reconnect() публичный Метод

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
Результат void