RouteConfig Class
Configuration for a single route
Inheritance Hierarchy
SystemObject
TwinCAT.Ads.ConfigurationRouteConfig
Namespace: TwinCAT.Ads.Configuration
Assembly: TwinCAT.Ads.ConfigurationProviders
(in TwinCAT.Ads.ConfigurationProviders.dll) Version:
7.0.0+e56d35ccc4675faac24789a4aab60071fc61d470
Syntax
C#
public class RouteConfigThe RouteConfig type exposes the following members.
Properties
|
|
Name |
Description |
|---|---|---|
|
|
Gets or sets the address of the remote Route (HostName or IPAddress). | |
|
|
Gets the routes AmsCompression setting. | |
|
|
Gets a value indicating whether [automatic connect]. | |
|
|
Gets the automatic connect delay. | |
|
|
Gets the routes Flags setting. | |
|
|
Gets a value indicating whether this Route is representing the Local System. | |
|
|
Indicates, that this AmsNetId indicates a Loopback (ID: 127.0.0.1.1.1) | |
|
|
Gets the routes MaxFragment setting | |
|
|
Gets or sets the name of the remote Route | |
|
|
Gets or sets the NetID of the remote route | |
|
|
Gets the PSK security setting or NULL | |
|
|
Gets the mask of the RemoteNetId | |
|
|
Gets the remote NetId | |
|
|
Gets the type of security for this RouteConfig | |
|
|
Gets the SubRoutes. | |
|
|
Gets Route Timeout setting. | |
|
|
Gets the TLS security setting or NULLL | |
|
|
Gets or sets the type of the route. | |
|
|
Gets a value indicating whether this RouteConfig is unidirectional. |
Methods
|
|
Name |
Description |
|---|---|---|
|
|
Determines whether the specified object is equal to the current
object. | |
|
|
Allows an object to try to free resources and perform other
cleanup operations before it is reclaimed by garbage
collection. | |
|
|
Serves as the default hash function. | |
|
|
Gets the Type of the current
instance. | |
|
|
Creates a shallow copy of the current Object. | |
|
|
Returns a string that represents the current object. |
Remarks
The key name for this IConfiguration value is: AmsRouter:RemoteConnnections:[Index] Example for setting Routes via Network variables (2 remote connections) AmsRouter__RemoteConnections__0__Name=Route1 AmsRouter__RemoteConnections__0__Address=192.168.0.5 AmsRouter__RemoteConnections__0__NetId=192.168.0.5.1.1 AmsRouter__RemoteConnections__1__Name=Route2 AmsRouter__RemoteConnections__1__Address=192.168.0.6 AmsRouter__RemoteConnections__1__NetId=192.168.0.6.1.1