AdsSessionBase Class
Abstract base class for ADS Sessions.
Inheritance Hierarchy
System.Object
TwinCAT.Session
TwinCAT.Ads.AdsSessionBase
TwinCAT.Ads.AdsSession
Namespace: TwinCAT.Ads
Assembly: TwinCAT.Ads (in TwinCAT.Ads.dll) Version: 7.0.0+e56d35ccc4675faac24789a4aab60071fc61d470
Syntax
C#
public abstract class AdsSessionBase : Session,
IAdsSession, ISession, IConnectionStateProvider, ISymbolServerProviderThe AdsSessionBase type exposes the following members.
Constructors
|
|
Name |
Description |
|---|---|---|
|
|
Initializes a new instance of the AdsSessionBase class. |
Properties
|
|
Name |
Description |
|---|---|---|
|
|
Gets the target address of the AdsSessionBase | |
|
|
Gets the communication endpoint address string representation.
| |
|
|
Gets the logger interface or null. | |
|
|
Gets the connection. | |
|
|
Gets the current Connection state of the Session | |
|
|
Gets a value indicating whether this Session is disposed.
| |
|
|
Gets the UTC time when the session was established.
| |
|
|
Gets the Session Identifier
| |
|
|
Gets a value indicating whether this instance is connected.
| |
|
|
Gets the actual used logger or null. | |
|
|
Gets the logger factory. | |
|
|
Gets the name of the session
| |
|
|
Gets the NetId of the Session | |
|
|
Gets the Session owner. | |
|
|
Gets the Ams Port of the Session | |
|
|
Gets the settings. | |
|
|
Gets the Communication / Session statistics. | |
|
|
Gets the symbol server.
|
Methods
|
|
Name |
Description |
|---|---|---|
|
| ||
|
|
Connects the session.
| |
|
|
Connects the session.
| |
|
|
Connects the session.
| |
|
|
Disconnects the session from the target.
| |
|
|
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
| |
|
|
Releases unmanaged and - optionally - managed resources.
| |
|
|
Ensures, that the ISession is connected and returns the IConnection object. | |
|
|
Determines whether the specified object is equal to the current object. | |
|
|
Finalizes an instance of the AdsSessionBase class.
| |
|
|
Serves as the default hash function. | |
|
|
Gets the name/string identifier of the session.
| |
|
|
Gets the Type of the current instance. | |
|
|
Creates a shallow copy of the current Object. | |
|
|
Handler function connecting the Session.
| |
|
|
Handler function connecting the Session.
| |
|
|
Handler function connecting the Session.
| |
|
|
Handles the [E:ConnectionStateChanged] event.
| |
|
|
Handler function creating the symbol server object.
| |
|
|
Handler function disconnecting the session.
| |
|
|
Handler function getting the address of the session.
| |
|
|
Returns a String that represents this instance.
|
Events
|
|
Name |
Description |
|---|---|---|
|
|
Occurs when connection status of the IConnectionStateProvider has been changed.
|