StationSetSelfPlug - method of the AtouchX object
Starts monitoring the connection status of the station or PC.
The method sets the monitoring of PC connection changes to one or more HW types. The HWType
parameter specifies which connection types to monitor on the PC side. The value is bitwise oriented. The lower 12 bits (D11÷D0) specifies which type of HW connection is to be monitored (according to the ahwXXXX constants) and the upper 4 bits (D15÷D12) specify the fixed network segment number whose connection changes are to be monitored. If a valid segment number is specified in the upper bits then the StationSetSelfPlug
method will monitor the connection changes of this segment. If the number 15 is specified in the upper bits, then the StationSetSelfPlug
method will track changes to all segments of the specified connection type.
value will cause changes to be tracked on all segments on all HW connection types.
value also serves as an identifier when tracking status, while the 0
value is used to cancel status monitoring of all stations or PCs.
Integer StationSetSelfPlug(Integer HWType, Long Param)
|HWType||(Integer) Connection type to be monitored.|
|Param||(Long) The value that is passed unchanged to the connection state change event.|
var oATC = pMe.Pm("/AtouchApp").Acx;
var nInfo = oATC.StationSetSelfPlug(0xffff, 60);