Static Public Attributes | |
static final int | COMPONENT_MASK = 0x01000000 |
static final int | CLIENT_MASK = 0x02000000 |
static final int | ADMINISTRATOR_MASK = 0x03000000 |
static final int | CONTAINER_MASK = 0x04000000 |
static final int | MANAGER_MASK = 0x05000000 |
static final int | TYPE_MASK = 0xFF000000 |
static final int | KEY_MASK = 0x00FF0000 |
static final int | HANDLE_MASK = 0x0000FFFF |
The Handle alias defines a universal handle used by MACI to uniquely tag the object instances.
Handles optimize access and identifications of MACI components and replace the use of string identifiers. Handles are not unique globally and are not static. Manager guarantees only that they are unique in their scope and only for the duration of the object denoted by the handle.
Upper 8 bits (24 to 31) of the handle denote the type of the object that the handle is representing. Possible values of the upper-most byte are:
Bits 0 thru 15 uniquely tag object instance. Bits 16 thru 23 are reserved.
final int com.cosylab.acs.maci.HandleConstants.ADMINISTRATOR_MASK = 0x03000000 [static] |
Administrator handle mask.
final int com.cosylab.acs.maci.HandleConstants.CLIENT_MASK = 0x02000000 [static] |
Client handle mask.
final int com.cosylab.acs.maci.HandleConstants.COMPONENT_MASK = 0x01000000 [static] |
Component handle mask.
final int com.cosylab.acs.maci.HandleConstants.CONTAINER_MASK = 0x04000000 [static] |
Container handle mask.
final int com.cosylab.acs.maci.HandleConstants.HANDLE_MASK = 0x0000FFFF [static] |
Instance ID part of handle.
final int com.cosylab.acs.maci.HandleConstants.KEY_MASK = 0x00FF0000 [static] |
Key mask of the handle.
final int com.cosylab.acs.maci.HandleConstants.MANAGER_MASK = 0x05000000 [static] |
Manager handle mask.
final int com.cosylab.acs.maci.HandleConstants.TYPE_MASK = 0xFF000000 [static] |
Type mask of the handle.