ITcAdsServiceCallbacks.AdsNotification
Passes through AdsNotificationEventHandler callback of the associated TcAdsClient.
To subscribe to the AdsNotificationEventHandler the ITcAdsServiceDuplex.SubscribeAdsNotificationEvent method has to be called.
void AdsNotification (
string netId,
int port,
byte [ ] buffer,
int length,
int notificationHandle,
int offset,
long timeStamp,
object userData
);
Parameters
netId | NetID of the AMS Router. |
port | Port of the AMS Router. |
buffer | Byte array that holds the notification data. |
length | The length of the data in buffer. |
notificationHandle | The handle of the connection. |
offset | The offset of the data in buffer. |
timeStamp | The timestamp when the notification was raised. |
userData | This object is passed by to AddDeviceNotification methods and can be used to store data. |