ISession Interface
Interface ISession
Namespace: TwinCAT
Assembly: TwinCAT.Ads.Abstractions (in
TwinCAT.Ads.Abstractions.dll) Version: 6.0.328+39e3229
Syntax
C#
public interface ISession : IConnectionStateProvider
The ISession type exposes the following members.
Properties
|
Name |
Description |
---|---|---|
|
Gets the communication endpoint address string representation. | |
|
Gets the Connection object. | |
|
Gets the current Connection state of the IConnectionStateProvider (Inherited from IConnectionStateProvider.) | |
|
Gets the UTC time when the session was established. | |
|
Gets the Session Id | |
|
Gets a value indicating whether the session is connected. | |
|
Gets the Session Provider |
Methods
|
Name |
Description |
---|---|---|
|
Closes this ISession | |
|
Connects the session and returns the established IConnection object. | |
|
Connects the session and returns the established IConnection object. | |
|
Disconnects the ISession | |
|
Ensures, that the ISession is connected and returns the IConnection object. |
Events
|
Name |
Description |
---|---|---|
|
Occurs when connection status of the IConnectionStateProvider has been changed. (Inherited from IConnectionStateProvider.) |