This chapter explains the allowed properties it is possible to set for this application.
The cosEventDomain application supports the following QoS settings:
QoS | Range | Default |
CycleDetection | AuthorizeCycles/ForbidCycles | ForbidCycles |
DiamondDetection | AuthorizeDiamonds/ForbidDiamonds | ForbidDiamonds |
Comments on the table 'Supported QoS Settings':
Assume we have a Consumer Admin object which we want to change the current Quality of Service. Typical usage:
QoS = [#'CosNotification_Property' {name='CosEventDomainAdmin':'DiamondDetection'(), value=any:create(orber_tc:short(), 'CosEventDomainAdmin':'AuthorizeDiamonds'())}, #'CosNotification_Property' {name='CosEventDomainAdmin':'CycleDetection'(), value=any:create(orber_tc:short(), 'CosEventDomainAdmin':'ForbidCycles'())}], 'CosEventDomainAdmin_EventDomain':set_qos(ED, QoS),
If it is not possible to set the requested QoS the UnsupportedQoS
exception is raised, which inlcudes a sequence of PropertyError
's
describing which QoS, possible range and why is not allowed. The error
codes are:
The CosEventDomainAdmin_EventDomain interface also supports an operation
called validate_qos/2
. The purpose of this operations is to check
if a QoS setting is supported by the target object and if so, the operation
returns additional properties which could be optionally added as well.
The OMG specifification do not contain any definitions of Admin Properties. Hence, the cosEventDomain application currently does not support any Admin Properties.