|
Distribution Client check if connected? Spencer from United States [2 posts] |
11 year
|
I want to bypass a certain script if the distribution client isn't connected to the server. Is there a way I can check if the distribution client is connected in code?
|
|
|
Steven Gentner from United States [1446 posts] |
11 year
|
Spencer,
We added a
DISTRIBUTOR_CLIENT_CONNECTED
variable that will be 1 when connected and zero or not present when not connected. Likewise on the server side we added
DISTRIBUTOR_SERVER_CONNECTIONS
to indicate the number of connected clients.
If you check the DISTRIBUTOR_CLIENT_CONNECTED variable to be 1 using an If_Statement module in the pipeline you can avoid executing certain code if it is not connected.
This is in the latest version, so you'll need to update your copy before seeing this change.
STeven.
|
|