GET REGISTERED CLIENTS

4D - Documentation   Français   English   German   4th Dimension 2004, Command Theme List   4th Dimension 2004, Command Alphabetical List   4th Dimension 2004, Constant Theme List   Back   Previous   Next

version 6.5


GET REGISTERED CLIENTS (clientList; methods)

ParameterTypeDescription
clientListText ArrayList of the saved 4D Clients
methodsLongint ArrayList of the methods to be executed

Description

The GET REGISTERED CLIENTS command fills two arrays:

clientLists contains the list of clients who were "registered" by using the REGISTER CLIENT command.

methods supplies the list of each client's "workload". The workload is the number of methods that a 4D Client must still execute by calling the EXECUTE ON CLIENT command (for more information, please refer to the description of the EXECUTE ON CLIENT command).

Note: If the operation was successful, the OK system variable is equal to 1.

Examples

1. Let's assume that you want to obtain a list of all the registered clients and the methods that remain to be executed:

   ARRAY TEXT($clients;0)
   ARRAY LONGINT($methods;0)
   GET REGISTERED CLIENTS($clients;$methods)

2. Refer to the example of the REGISTER CLIENT command.

 

See Also

EXECUTE ON CLIENT, REGISTER CLIENT, UNREGISTER CLIENT.


4D - Documentation   Français   English   German   4th Dimension 2004, Command Theme List   4th Dimension 2004, Command Alphabetical List   4th Dimension 2004, Constant Theme List   Back   Previous   Next