![]() |
Jazz 1.25.+
|
Locator: A minimal structure to define the location of resources inside a Container. More...
#include <container.h>
Data Fields | ||
char | base [SHORT_NAME_SIZE] | |
A Jazz node level unique name to locate a Container and possibly a type of service inside it. | ||
Name | entity | |
Another abstraction inside node.container.base, like the name of a table in a database. | ||
Name | key | |
A key identifying a block inside the entity. | ||
union { | ||
int attribute | ||
Used by API to store the attribute. | ||
pExtraLocator p_extra | ||
A pointer to extend this structure with Container specific data (like URLs, cookies, credentials). | ||
}; | ||
Locator: A minimal structure to define the location of resources inside a Container.
This is used by all Container descendants, it can be extended using p_extra to something else, an ExtraLocator.
Valid characters**: base, entity and key names must start with a letter and continue with up to NAME_LENGTH or (SHORT_NAME_SIZE -1 for base) characters in [a-zA-Z0-9\-_~$]. When part of a URL, none of these characters should be %-encoded. Besides names, the following characters have special meaning in URLs (see the parser in API for details): / . : # ; [ ] ( ) =