20022013 Ericsson AB. All Rights Reserved. The contents of this file are subject to the Erlang Public License, Version 1.1, (the "License"); you may not use this file except in compliance with the License. You should have received a copy of the Erlang Public License along with this software. If not, it can be retrieved online at http://www.erlang.org/. Software distributed under the License is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License for the specific language governing rights and limitations under the License. Quality Of Service and Admin Properties 2000-05-29 ch_QoS.xml
Quality Of Service and Admin Properties

This chapter explains the allowed properties it is possible to set for this application.

Quality Of Service

The cosEventDomain application supports the following QoS settings:

QoS Range Default CycleDetection AuthorizeCycles/ForbidCycles ForbidCycles DiamondDetection AuthorizeDiamonds/ForbidDiamonds ForbidDiamonds Supported QoS settings








Comments on the table 'Supported QoS Settings':

CycleDetection If a cycle is created, the user must be aware of the fact that unless they set timeout on events, events that are not filtered will loop endlessly through the topology. DiamondDetection A Diamond in this context, means that the same event may reach a point in the graph by more than one route (i.e. transitive). Hence, it is possible that multiple copies are delivered.
Setting Quality Of Service

Assume we have a Consumer Admin object which we want to change the current Quality of Service. Typical usage:

If it is not possible to set the requested QoS the exception is raised, which includes a sequence of 's describing which QoS, possible range and why is not allowed. The error codes are:

UNSUPPORTED_PROPERTY - QoS not supported for this type of target object. UNAVAILABLE_PROPERTY - due to current QoS settings the given property is not allowed. UNSUPPORTED_VALUE - property value out of range; valid range is returned. UNAVAILABLE_VALUE - due to current QoS settings the given value is not allowed; valid range is returned. BAD_PROPERTY - unrecognized property. BAD_TYPE - type of supplied property is incorrect. BAD_VALUE - illegal value.

The CosEventDomainAdmin_EventDomain interface also supports an operation called . 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.

Admin Properties

The OMG specification do not contain any definitions of Admin Properties. Hence, the cosEventDomain application currently does not support any Admin Properties.