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: 6.0.328+39e3229
Syntax
C#
public abstract class AdsSessionBase : Session,
IAdsSession, ISession, IConnectionStateProvider, ISymbolServerProvider
The 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. (Inherited from Session.) | |
|
Gets the connection. | |
|
Gets the current Connection state of the Session (Inherited from Session.) | |
|
Gets a value indicating whether this Session is disposed. (Inherited from Session.) | |
|
Gets the UTC time when the session was established. (Inherited from Session.) | |
|
Gets the Session Identifier (Inherited from Session.) | |
|
Gets a value indicating whether this instance is connected. (Inherited from Session.) | |
|
Gets the logger interface or null. | |
|
Gets the name of the session (Inherited from Session.) | |
|
Gets the NetId of the Session | |
|
Gets the Session owner. | |
|
Gets the Ams Port of the Session | |
|
Gets the settings of the Session/Connection. | |
|
Gets the Communication / Session statistics. | |
|
Gets the symbol server. (Inherited from Session.) |
Methods
|
Name |
Description |
---|---|---|
| ||
|
Connects the session. (Inherited from Session.) | |
|
Connects the session. (Inherited from Session.) | |
|
Disconnects the session from the target. (Inherited from Session.) | |
|
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. (Inherited from Session.) | |
|
Releases unmanaged and - optionally - managed resources. (Overrides Session.Dispose(Boolean).) | |
|
Ensures, that the ISession is connected and returns the IConnection object. | |
|
Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
|
Finalizes an instance of the AdsSessionBase class. (Overrides Object.Finalize..) | |
|
Serves as the default hash function. (Inherited from Object.) | |
|
Gets the name/string identifier of the session. (Overrides Session.GetSessionName..) | |
|
Gets the Type of the current instance. (Inherited from Object.) | |
|
Creates a shallow copy of the current Object. (Inherited from Object.) | |
|
Handler function connecting the Session. (Overrides Session.OnConnect(Boolean).) | |
|
Handler function connecting the Session. (Inherited from Session.) | |
|
Handles the [E:ConnectionStateChanged] event. (Inherited from Session.) | |
|
Handler function creating the symbol server object. (Overrides Session.OnCreateSymbolServer..) | |
|
Handler function disconnecting the session. (Overrides Session.OnDisconnect..) | |
|
Handler function getting the address of the session. (Overrides Session.OnGetAddress..) | |
|
Returns a String that represents this instance. (Inherited from Session.) |
Events
|
Name |
Description |
---|---|---|
|
Occurs when connection status of the IConnectionStateProvider has been changed. (Inherited from Session.) |