@UESComponent public interface UESQoSService
It uses canonical UESURI for specifying limit owner or counter owner. When client of this API depends only on ues.platform subsystem, this subsystem doesn't support creation of canonical UESURI. The client must create canonical UESURI some other way. When ues.core subsystem is available, core implementation of component UESURIConvertor can be used. See following example.
Example: How to obtain limit list for owner "ues:TESTS:TESTS":import cz.ues.core.commons.uri.UESURI; import cz.ues.core.commons.uri.UESURIConvertor; ... UESURI owner = UESURI.parseURI("ues:TESTS:TESTS"); UESQoSService qosSvc = UESComponentFactory.getComponent(UESQoSService.class); UESURIConvertor convertor = UESComponentFactory.getComponent(UESURIConvertor.class); qos.getLimitList(convertor.getCanonicalURI(owner));
Modifier and Type | Method and Description |
---|---|
java.util.List<DTOCounter> |
getCounterList(java.lang.String aOwnerUesUri)
Deprecated.
Use the
getCounterList(UESURI) method instead. |
java.util.List<DTOCounter> |
getCounterList(UESURI aOwnerUesUri)
Returns list of counter for specified owner.
|
java.util.List<DTOLimit> |
getLimitList(java.lang.String aOwnerUesUri)
Deprecated.
Use the
getLimitList(UESURI) method instead. |
java.util.List<DTOLimit> |
getLimitList(UESURI aOwnerUesUri)
Returns list of limits for specified owner.
|
void |
setLimit(java.lang.String aOwnerUesUri,
Deprecated.
Use the
setLimit(UESURI,DTOLimit) method instead. |
void |
setLimit(UESURI aOwnerUesUri,
Sets limit for specified owner.
|
aOwnerUesUri
- UESURI of the owner. This UESURI must be canonical UESURI.aOwnerUesUri
- UESURI of the owner. This UESURI must be canonical UESURI.aOwnerUesUri
- UESURI of the owner. This UESURI must be canonical UESURI.aLimit
- Limit DTO.getCounterList(UESURI)
method instead.aOwnerUesUri
- Owner.getLimitList(UESURI)
method instead.aOwnerUesUri
- Owner.setLimit(UESURI,DTOLimit)
method instead.aOwnerUesUri
- Owner.aLimit
- Limit DTO.