AdsServer Methods

The AdsServer type exposes the following members.

Methods

 

Name

Description

AdsServer Methods 1:

AddDeviceNotificationRequest

Sends an ADS Add Device Notification request (synchronous).

AdsServer Methods 2:

AddDeviceNotificationRequestAsync

Sends an ADS Add Device Notification request (async)

AdsServer Methods 3:

AddDeviceNotificationResponseAsync

Sends an ADS Add Device Notification response.

AdsServer Methods 4:

ConnectServer

Connect this ADS server to the local ADS router.

AdsServer Methods 5:

ConnectServerAndWaitAsync

Registers the AdsServer at the router asynchronously.

AdsServer Methods 6:

DeleteDeviceNotificationRequest

Sends an ADS Delete Device Notification request (synchronous).

AdsServer Methods 7:

DeleteDeviceNotificationRequestAsync

Sends an ADS Delete Device Notification request (async).

AdsServer Methods 8:

DeleteDeviceNotificationResponseAsync

Sends an ADS Delete Device Notification response.

AdsServer Methods 9:

DeviceNotificationRequestAsync

Sends an ADS Device Notification request asynchronously

AdsServer Methods 10:

DeviceNotificationRequestSync

Sends an ADS Device Notification request (sync)

AdsServer Methods 11:

Disconnect

Disconnects this ADS server from the local ADS router.

AdsServer Methods 12:

Dispose.

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.

AdsServer Methods 13:

Dispose(Boolean)

Releases unmanaged and - optionally - managed resources.

AdsServer Methods 14:

Equals

Determines whether the specified object is equal to the current object. (Inherited from Object.)

AdsServer Methods 15:

Finalize

Finalizes an instance of the AdsServer class. (Overrides Object.Finalize..)

AdsServer Methods 16:

GetHashCode

Serves as the default hash function. (Inherited from Object.)

AdsServer Methods 17:

GetServerName

Gets the name of the server.

AdsServer Methods 18:

GetType

Gets the Type of the current instance. (Inherited from Object.)

AdsServer Methods 19:

MemberwiseClone

Creates a shallow copy of the current Object. (Inherited from Object.)

AdsServer Methods 20:

OnAddDeviceNotificationAsync

Called when an ADS Add Device Notification indication is received.

AdsServer Methods 21:

OnAddDeviceNotificationConfirmationAsync

Called when an ADS Add Device Notification confirmation is received.

AdsServer Methods 22:

OnBeforeConnected

Handler function that is called, when the AdsServer is connected, but before calling OnConnected..

AdsServer Methods 23:

OnConnected

Handler function that is called, when the AdsServer is connected.

AdsServer Methods 24:

OnDeleteDeviceNotificationAsync

Called when an ADS Delete Device Notification indication is received.

AdsServer Methods 25:

OnDeleteDeviceNotificationConfirmationAsync

Called when an ADS Delete Device Notification confirmation is received.

AdsServer Methods 26:

OnDisconnect

Called when the AdsServer is about to be disconnected.

AdsServer Methods 27:

OnReadAsync

Called when an ADS Read indication is received.

AdsServer Methods 28:

OnReadConfirmationAsync

Called when an ADS Read confirmation is received.

AdsServer Methods 29:

OnReadDeviceInfoConfirmationAsync

Called when an ADS Read Device Info confirmation is received.

AdsServer Methods 30:

OnReadDeviceStateAsync

Called when an ADS Read State indication is received.

AdsServer Methods 31:

OnReadDeviceStateConfirmationAsync

Called when an ADS Read State confirmation is received.

AdsServer Methods 32:

OnReadWriteAsync

Called when an ADS Read Write indication is received.

AdsServer Methods 33:

OnReadWriteConfirmationAsync

Called when an ADS Read Write confirmation is received.

AdsServer Methods 34:

OnRouterNotification

Handler Function for a Router Notification.

AdsServer Methods 35:

OnServerConnectionStateChanged

Handles the ServerConnectionStateChanged event.

AdsServer Methods 36:

OnWriteAsync

Called when an ADS Write indication is received.

AdsServer Methods 37:

OnWriteConfirmationAsync

Called when an ADS Write confirmation is received.

AdsServer Methods 38:

OnWriteControlAsync

Called when an ADS Write Control indication is received.

AdsServer Methods 39:

OnWriteControlConfirmationAsync

Called when an ADS Write Control confirmation is received.

AdsServer Methods 40:

ReadDeviceInfoRequestAsync

Sends an ADS Read Device Info request asynchronously

AdsServer Methods 41:

ReadDeviceInfoRequestSync

Sends an ADS Read Device Info request synchronously.

AdsServer Methods 42:

ReadDeviceInfoResponseAsync

Sends an ADS Read Device Info response.

AdsServer Methods 43:

ReadDeviceStateRequestAsync

Sends an ADS Read State request (asynchronous)

AdsServer Methods 44:

ReadDeviceStateRequestSync

Sends an ADS Read State request (synchronous)

AdsServer Methods 45:

ReadDeviceStateResponseAsync

Sends an ADS Read State response.

AdsServer Methods 46:

ReadRequest

Sends an ADS Read Request.

AdsServer Methods 47:

ReadRequestAsync

Sends an ADS Read Request asynchronously.

AdsServer Methods 48:

ReadResponseAsync

Sends an ADS Read response.

AdsServer Methods 49:

ReadWriteRequestAsync

Sends an ADS Read Write request.

AdsServer Methods 50:

ReadWriteRequestSync

Sends an ADS Read Write request synchronously

AdsServer Methods 51:

ReadWriteResponseAsync

Sends an ADS Read Write Response.

AdsServer Methods 52:

ToString

Returns a string that represents the current object. (Inherited from Object.)

AdsServer Methods 53:

WriteControlRequest

Sends an ADS Write Control request (synchronous)

AdsServer Methods 54:

WriteControlRequestAsync

Sends an ADS Write Control request (asynchronous).

AdsServer Methods 55:

WriteControlRequestSync

Sends an ADS Write Control request (synchronous).

AdsServer Methods 56:

WriteControlResponseAsync

Sends an ADS Write Control response.

AdsServer Methods 57:

WriteRequest

Sends an ADS Write request synchronously.

AdsServer Methods 58:

WriteRequestAsync

Sends an ADS Write request asynchronously.

AdsServer Methods 59:

WriteResponseAsync

Sends an ADS Write response.

Reference

AdsServer Class

TwinCAT.Ads.Server Namespace