PlcDeviceConnectionChannel Class

Namespace: IPS7Lnk.Advanced
Assemblies: IPS7LnkNet.Advanced.dll

Represents an abstract based class to define an immutable low level access layer used by PlcDeviceConnection objects to perform the necessary device operations.

C#

public abstract class PlcDeviceConnectionChannel : IDisposable


Inheritance Object › PlcDeviceConnectionChannel


Implements IDisposable

Name Description
PlcDeviceConnectionChannel(PlcDeviceConnection) Initializes a new instance of the PlcDeviceConnectionChannel class using the specified connection.
Name Description
Address Gets the IP address of the endpoint used.
BreakDetectionTimeout Gets the time that is used to detect a connection break.
ConnectTimeout Gets the wait time before terminating the attempt to establish a connection.
IsConnected When implemented in a derived class, gets a value indicating whether the connection has been completly established to the device.
LocalTSAP Gets the address of the local transport service access point used when communicating with the PLC device.
Rack Gets the rack number of the endpoint used.
ReceiveTimeout Gets the wait time before terminating the attempt to receive data.
RemoteTSAP Gets or sets the address of the remote transport service access point used when communicating with the PLC device.
Slot Gets the slot number of the endpoint used.
SyncRoot Gets an object that can be used to synchronize access to the PlcDeviceConnectionChannel.
TransmitTimeout Gets the wait time before terminating the attempt to transmit data.
UseBreakDetection Gets a value indicating whether a connection break detection is to be used.
Name Description
Close Closes an established connection to a device.
CloseCore When implemented in a derived class, closes an established connection to a device.
Connect Fully establishes a connection to a device.
ConnectCore When implemented in a derived class, fully establishes a connection to a device.
DenyIfIsDisposed Verifies whether the channel has been disposed of.
Dispose Releases all resources used by the PlcDeviceConnectionChannel.
Dispose(Boolean) Releases the unmanaged resources used by the PlcDeviceConnectionChannel and optionally releases the managed resources.
Finalize Finalizes an instance of the PlcDeviceConnectionChannel class.
HasConfigurationOf(PlcDeviceConnection) Evaluates the setup of the connection specified to determine whether the configuration of this PlcDeviceConnectionChannel matches with the settings of the channel.
HasConfigurationOfCore(PlcDeviceConnection) Performs additional custom evaluation of the setup of the connection specified to determine whether the configuration of a derivat of the PlcDeviceConnectionChannel matches with the settings of the channel.
Open Establishes a connection to a device.
OpenCore When implemented in a derived class, establishes a connection to a device.