IAmsRouter Interface

Interface IAmsRouter

Namespace:  TwinCAT.Ads.TcpRouter
Assembly:  TwinCAT.Ads.TcpRouter (in TwinCAT.Ads.TcpRouter.dll) Version: 6.0.328+39e3229

Syntax

C#

public interface IAmsRouter

The IAmsRouter type exposes the following members.

Properties

 

Name

Description

IAmsRouter Interface 1:

IsActive

Gets a value indicating whether the IAmsRouter is active (Running or in Starting / Stopping state).

IAmsRouter Interface 2:

IsRunning

Gets a value indicating whether the IAmsRouter is running (Start phase completely finished).

IAmsRouter Interface 3:

NetId

The Local AmsNetId of the IAmsRouter

IAmsRouter Interface 4:

RouterStatus

Gets the router status.

IAmsRouter Interface 5:

Routes

Gets a read-only list of the routes

Methods

 

Name

Description

IAmsRouter Interface 6:

AddRoute

Adds a dynamic Route

IAmsRouter Interface 7:

RemoveRoute(AmsNetId)

Removes a dynamic Route

IAmsRouter Interface 8:

RemoveRoute(String)

Removes a dynamic Route

IAmsRouter Interface 9:

StartAsync

Starts the IAmsRouter asynchronously.

IAmsRouter Interface 10:

Stop

Stops the IAmsRouter.

IAmsRouter Interface 11:

TryAddRoute

Adds a dynamic Route

Events

 

Name

Description

IAmsRouter Interface 12:

RouterStatusChanged

Occurs when the router status changes.

Reference

TwinCAT.Ads.TcpRouter Namespace