public interface ServiceIDLookup
extends java.lang.Iterable<java.util.Map.Entry<java.lang.String,java.lang.Long>>
Modifier and Type | Method and Description |
---|---|
long |
getIDForName(java.lang.String name)
Lookup the numerical identifier which is currently mapped to a particular service name in the
DiameterCharging service's serviceID configuration.
|
java.lang.String |
getServiceNameForID(long id)
Lookup the name which is currently mapped to a particular service ID in the
DiameterCharging service's service ID configuration.
|
java.lang.String getServiceNameForID(long id)
id
- The service ID as it appears in the MSCC's 'serviceIDs' AVPnull
if there
is currently no name mapped to the ID.long getIDForName(java.lang.String name)
name
- The service name as it is used e.g. by the promotion features to identify a service-1
if there
is currently no name mapped to the ID.Copyright © OpenCloud. All Rights Reserved.