4D v16.3

GET REGISTERED CLIENTS

Home

 
4D v16.3
GET REGISTERED CLIENTS

GET REGISTERED CLIENTS 


 

GET REGISTERED CLIENTS ( clientList ; methods ) 
Parameter Type   Description
clientList  Text array in List of the saved 4D Clients
methods  Longint array in List of the methods to be executed

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).

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)

Refer to the example of the REGISTER CLIENT command.

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



See also 

EXECUTE ON CLIENT
REGISTER CLIENT
UNREGISTER CLIENT

 
PROPERTIES 

Product: 4D
Theme: Processes
Number: 650

The OK variable is changed by the command

 
HISTORY 

Created: 4D v6.5

 
ARTICLE USAGE

4D Language Reference ( 4D v16)
4D Language Reference ( 4D v16.1)
4D Language Reference ( 4D v16.2)
4D Language Reference ( 4D v16.3)