observe


Description:

public StatusResponse observe (void* command_cookie = null, ObserveCommand*[] commands)

Observe key.

Example:

  ObserveCommand oc = ObserveCommand() {
key = "my-key"
};
ObserveCommand*[] commands = { &oc };
instance.observe( null, commands );

Parameters:

command_cookie

A cookie passed to all of the notifications from this command

commands

the array containing the items to observe

Returns:

The status of the operation