C# Class Opc.Ua.Client.SessionReconnectHandler

Attempts to reconnect to the server.
Inheritance: IDisposable
Show file Open project: OPCFoundation/UA-.NET Class Usage Examples

Public Methods

Method Description
BeginReconnect ( Session session, int reconnectPeriod, EventHandler callback ) : void

Begins the reconnect process.

Dispose ( ) : void

Frees any unmanaged resources.

Protected Methods

Method Description
Dispose ( bool disposing ) : void

An overrideable version of the Dispose.

Private Methods

Method Description
DoReconnect ( ) : bool

Reconnects to the server.

OnReconnect ( object state ) : void

Called when the reconnect timer expires.

Method Details

BeginReconnect() public method

Begins the reconnect process.
public BeginReconnect ( Session session, int reconnectPeriod, EventHandler callback ) : void
session Session
reconnectPeriod int
callback EventHandler
return void

Dispose() public method

Frees any unmanaged resources.
public Dispose ( ) : void
return void

Dispose() protected method

An overrideable version of the Dispose.
protected Dispose ( bool disposing ) : void
disposing bool
return void