Subscribing for child device notification

Hi all,
Referring to the “Device Control” section:
In order to create/retrieve/update operation for a device, the device must be in the “child devices” hierarchy of an existing agent.

what is the proper way of subscription for an agent so it can receive real-time commands for devices that are managedf by it.