RTI Connext Java API Version 7.1.0
ActivityContextAttributeKind Class Reference

The resources of the Activity Context can have multiple associated attributes. Those attributes provide extra information about the entity such as GUID prefix, Topic, data type, entity kind, entity name and domain ID. They are used to indicate what attributes of the resources are included in the activity context. More...

Static Public Attributes

static final int NDDS_CONFIG_ACTIVITY_CONTEXT_ATTRIBUTE_GUID_PREFIX = 0x1
 Provide the entity GUID prefix to the resource of the Activity Context. More...
 
static final int NDDS_CONFIG_ACTIVITY_CONTEXT_ATTRIBUTE_TOPIC = 0x2
 Provide the Topic to the resource of the Activity Context. The topic attribute is specified by "Topic". More...
 
static final int NDDS_CONFIG_ACTIVITY_CONTEXT_ATTRIBUTE_TYPE = 0x4
 Provide the data type to the resource of the Activity Context. The type attribute is specified by "Type". More...
 
static final int NDDS_CONFIG_ACTIVITY_CONTEXT_ATTRIBUTE_ENTITY_KIND = 0x8
 Provide the entity kind to the resource of the Activity Context. The kind attribute is specified by "Entity". More...
 
static final int NDDS_CONFIG_ACTIVITY_CONTEXT_ATTRIBUTE_DOMAIN_ID = 0x10
 Provide the domain ID to the resource of the Activity Context. The domain attribute is specified by "Domain". More...
 
static final int NDDS_CONFIG_ACTIVITY_CONTEXT_ATTRIBUTE_ENTITY_NAME = 0x20
 Provide the entity name to the resource of the Activity Context. The name attribute is specified by "Name". More...
 
static final int NDDS_CONFIG_ACTIVITY_CONTEXT_ATTRIBUTE_MASK_DEFAULT = 0x3F
 Provide the default attributes of the resource of the Activity Context. More...
 
static final int NDDS_CONFIG_ACTIVITY_CONTEXT_ATTRIBUTE_MASK_NONE = 0x0
 Not provide any attribute of the resource of the Activity Context. More...
 
static final int NDDS_CONFIG_ACTIVITY_CONTEXT_ATTRIBUTE_MASK_ALL = 0x3F
 Provide all the possibles attributes of the resource of the Activity Context. More...
 

Detailed Description

The resources of the Activity Context can have multiple associated attributes. Those attributes provide extra information about the entity such as GUID prefix, Topic, data type, entity kind, entity name and domain ID. They are used to indicate what attributes of the resources are included in the activity context.

Member Data Documentation

◆ NDDS_CONFIG_ACTIVITY_CONTEXT_ATTRIBUTE_GUID_PREFIX

final int NDDS_CONFIG_ACTIVITY_CONTEXT_ATTRIBUTE_GUID_PREFIX = 0x1
static

Provide the entity GUID prefix to the resource of the Activity Context.

For example:

◆ NDDS_CONFIG_ACTIVITY_CONTEXT_ATTRIBUTE_TOPIC

final int NDDS_CONFIG_ACTIVITY_CONTEXT_ATTRIBUTE_TOPIC = 0x2
static

Provide the Topic to the resource of the Activity Context. The topic attribute is specified by "Topic".

For example:

  • For the following string representation of the context:
    [0X101A76B,0X79E5D71,0X50EE914:0X1C1:0X80000003{Name=testDataWriterName,Entity=DW,Topic=test,Type=Foo,Domain=1}|Write]
  • The Topic is "test." If the bit com.rti.ndds.config.ActivityContextAttributeKind.NDDS_CONFIG_ACTIVITY_CONTEXT_ATTRIBUTE_TOPIC is not set, the string representation will not show the Topic:
    [0X101A76B,0X79E5D71,0X50EE914:0X1C1:0X80000003{Name=testDataWriterName,Entity=DW,Type=Foo,Domain=1}|Write]

◆ NDDS_CONFIG_ACTIVITY_CONTEXT_ATTRIBUTE_TYPE

final int NDDS_CONFIG_ACTIVITY_CONTEXT_ATTRIBUTE_TYPE = 0x4
static

Provide the data type to the resource of the Activity Context. The type attribute is specified by "Type".

For example:

  • For the following string representation of the context:
    [0X101A76B,0X79E5D71,0X50EE914:0X1C1:0X80000003{Name=testDataWriterName,Entity=DW,Topic=test,Type=Foo,Domain=1}|Write]
  • The data type is "Foo." If the bit com.rti.ndds.config.ActivityContextAttributeKind.NDDS_CONFIG_ACTIVITY_CONTEXT_ATTRIBUTE_TYPE is not set, the string representation will not show the data type:
    [0X101A76B,0X79E5D71,0X50EE914:0X1C1:0X80000003{Name=testDataWriterName,Entity=DW,Topic=test,Domain=1}|Write]

◆ NDDS_CONFIG_ACTIVITY_CONTEXT_ATTRIBUTE_ENTITY_KIND

final int NDDS_CONFIG_ACTIVITY_CONTEXT_ATTRIBUTE_ENTITY_KIND = 0x8
static

Provide the entity kind to the resource of the Activity Context. The kind attribute is specified by "Entity".

For example:

◆ NDDS_CONFIG_ACTIVITY_CONTEXT_ATTRIBUTE_DOMAIN_ID

final int NDDS_CONFIG_ACTIVITY_CONTEXT_ATTRIBUTE_DOMAIN_ID = 0x10
static

Provide the domain ID to the resource of the Activity Context. The domain attribute is specified by "Domain".

For example:

◆ NDDS_CONFIG_ACTIVITY_CONTEXT_ATTRIBUTE_ENTITY_NAME

final int NDDS_CONFIG_ACTIVITY_CONTEXT_ATTRIBUTE_ENTITY_NAME = 0x20
static

Provide the entity name to the resource of the Activity Context. The name attribute is specified by "Name".

For example:

◆ NDDS_CONFIG_ACTIVITY_CONTEXT_ATTRIBUTE_MASK_DEFAULT

final int NDDS_CONFIG_ACTIVITY_CONTEXT_ATTRIBUTE_MASK_DEFAULT = 0x3F
static

Provide the default attributes of the resource of the Activity Context.

◆ NDDS_CONFIG_ACTIVITY_CONTEXT_ATTRIBUTE_MASK_NONE

final int NDDS_CONFIG_ACTIVITY_CONTEXT_ATTRIBUTE_MASK_NONE = 0x0
static

Not provide any attribute of the resource of the Activity Context.

◆ NDDS_CONFIG_ACTIVITY_CONTEXT_ATTRIBUTE_MASK_ALL

final int NDDS_CONFIG_ACTIVITY_CONTEXT_ATTRIBUTE_MASK_ALL = 0x3F
static

Provide all the possibles attributes of the resource of the Activity Context.