AdsSessionBase Class
Abstract base class for ADS Sessions.
Inheritance Hierarchy
SystemObject
TwinCATSession
TwinCAT.AdsAdsSessionBase
TwinCAT.AdsAdsSession
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. |
- AdsSessionBase.Address Property
- Session.AddressSpecifier Property
- AdsSessionBase.Connection Property
- Session.ConnectionState Property
- Session.Disposed Property
- Session.EstablishedAt Property
- Session.Id Property
- Session.IsConnected Property
- Session.Name Property
- AdsSessionBase.NetId Property
- AdsSessionBase.Owner Property
- AdsSessionBase.Port Property
- AdsSessionBase.Settings Property
- AdsSessionBase.Statistics Property
- Session.SymbolServer Property
- AdsSessionBase.Logger Property
- Session.Close Method
- Session.Connect Method
- Session.Disconnect Method
- Session.Dispose Method
- AdsSessionBase.Dispose Method (Boolean)
- Session.Dispose Method (Boolean)
- AdsSessionBase.Finalize Method
- AdsSessionBase.GetSessionName Method
- Session.GetSessionName Method
- AdsSessionBase.OnConnect Method
- Session.OnConnect Method
- AdsSessionBase.OnCreateSymbolServer Method
- Session.OnCreateSymbolServer Method
- AdsSessionBase.OnDisconnect Method
- Session.OnDisconnect Method
- AdsSessionBase.OnGetAddress Method
- Session.OnGetAddress Method
- AdsSessionBase.EnsureConnection Method
- Session.OnConnectionStateChanged Method
- Session.ToString Method
- Session.ConnectAsync Method
- Session.OnConnectAsync Method
- Session.ConnectionStateChanged Event