RLCB gate, CREATE function
The CREATE function is called on the client domain by the RL domain to create a resource that is owned by the domain.
Input parameters
- APPLICATION
- A 64-byte character string that contains the application ID.
- BUNDLE_NAME
- An 8-byte character name of the bundle.
- BUNDLE_TOKEN
- Optional parameter
- An 8-byte token that represents the created bundle. Either the BUNDLE_NAME or the BUNDLE_TOKEN is used, but not both.
- CATALOG
- A 1-byte enumeration expressing whether the client should catalog the resource or not.
- DATA
- Contains the metadata for the resource.
- MAJOR_VER
- A 4-byte numeric field that contains the application major version.
- MICRO_VER
- A 4-byte numeric field that contains the application micro version.
- MINOR_VER
- A 4-byte numeric field that contains the application minor version.
- NAME
- An 8-byte character string that contains the name of the resource.
- PLATFORM
- A 64-byte character string that contains the platform name.
- RESOURCE_TOKEN
- An 8-byte token that represents the resource.
- ROOT
- The fully qualified path of the root directory in the file system for the bundle.
- SCOPE
- Optional parameter.
- A character string that contains the scope of the bundle as a URL.
- STATE
- A 1–byte enumeration expressing whether the initial state of the BUNDLE resource is enabled or disabled.
- TYPE
- A character string that contains the URL for the type of resource.
Output parameters
- REASON
- The following values are returned when RESPONSE is EXCEPTION:
- RESPONSE
- Indicates whether the domain call was successful. For more information, see RESPONSE parameter on domain interfaces.