|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.mobicents.slee.resource.diameter.base.events.DiameterMessageImpl
org.mobicents.slee.resource.diameter.cca.events.CreditControlMessageImpl
org.mobicents.slee.resource.diameter.cca.events.CreditControlRequestImpl
public class CreditControlRequestImpl
CCA Credit-Control-Request message implementation.
Super project: mobicents
12:25:46 2008-11-10
| Field Summary |
|---|
| Fields inherited from class org.mobicents.slee.resource.diameter.base.events.DiameterMessageImpl |
|---|
message |
| Fields inherited from interface net.java.slee.resource.diameter.cca.events.CreditControlMessage |
|---|
commandCode |
| Constructor Summary | |
|---|---|
CreditControlRequestImpl(org.jdiameter.api.Message message)
Constructor. |
|
| Method Summary | |
|---|---|
byte[] |
getCcCorrelationId()
Returns the value of the CC-Correlation-Id AVP, of type OctetString. |
java.lang.String |
getLongName()
|
MultipleServicesIndicatorType |
getMultipleServicesIndicator()
Returns the value of the Multiple-Services-Indicator AVP, of type Enumerated. |
RequestedActionType |
getRequestedAction()
Returns the value of the Requested-Action AVP, of type Enumerated. |
RequestedServiceUnitAvp |
getRequestedServiceUnit()
Returns the value of the Requested-Service-Unit AVP, of type Grouped. |
java.lang.String |
getServiceContextId()
Returns the value of the Service-Context-Id AVP, of type UTF8String. |
long |
getServiceIdentifier()
Returns the value of the Service-Identifier AVP, of type Unsigned32. |
ServiceParameterInfoAvp[] |
getServiceParameterInfos()
Returns the set of Service-Parameter-Info AVPs. |
java.lang.String |
getShortName()
|
SubscriptionIdAvp[] |
getSubscriptionIds()
Returns the set of Subscription-Id AVPs. |
net.java.slee.resource.diameter.base.events.avp.TerminationCauseType |
getTerminationCause()
Returns the value of the Termination-Cause AVP, of type Enumerated. |
UsedServiceUnitAvp[] |
getUsedServiceUnits()
Returns the set of Used-Service-Unit AVPs. |
UserEquipmentInfoAvp |
getUserEquipmentInfo()
Returns the value of the User-Equipment-Info AVP, of type Grouped. |
boolean |
hasCcCorrelationId()
Returns true if the CC-Correlation-Id AVP is present in the message. |
boolean |
hasMultipleServicesIndicator()
Returns true if the Multiple-Services-Indicator AVP is present in the message. |
boolean |
hasRequestedAction()
Returns true if the Requested-Action AVP is present in the message. |
boolean |
hasRequestedServiceUnit()
Returns true if the Requested-Service-Unit AVP is present in the message. |
boolean |
hasServiceContextId()
Returns true if the Service-Context-Id AVP is present in the message. |
boolean |
hasServiceIdentifier()
Returns true if the Service-Identifier AVP is present in the message. |
boolean |
hasTerminationCause()
Returns true if the Termination-Cause AVP is present in the message. |
boolean |
hasUserEquipmentInfo()
Returns true if the User-Equipment-Info AVP is present in the message. |
void |
setCcCorrelationId(byte[] ccCorrelationId)
Sets the value of the CC-Correlation-Id AVP, of type OctetString. |
void |
setMultipleServicesIndicator(MultipleServicesIndicatorType multipleServicesIndicator)
Sets the value of the Multiple-Services-Indicator AVP, of type Enumerated. |
void |
setRequestedAction(RequestedActionType requestedAction)
Sets the value of the Requested-Action AVP, of type Enumerated. |
void |
setRequestedServiceUnit(RequestedServiceUnitAvp requestedServiceUnit)
Sets the value of the Requested-Service-Unit AVP, of type Grouped. |
void |
setServiceContextId(java.lang.String serviceContextId)
Sets the value of the Service-Context-Id AVP, of type UTF8String. |
void |
setServiceIdentifier(long serviceIdentifier)
Sets the value of the Service-Identifier AVP, of type Unsigned32. |
void |
setServiceParameterInfo(ServiceParameterInfoAvp serviceParameterInfo)
Sets a single Service-Parameter-Info AVP in the message, of type Grouped. |
void |
setServiceParameterInfos(ServiceParameterInfoAvp[] serviceParameterInfos)
Sets the set of Service-Parameter-Info AVPs, with all the values in the given array. |
void |
setSubscriptionId(SubscriptionIdAvp subscriptionId)
Sets a single Subscription-Id AVP in the message, of type Grouped. |
void |
setSubscriptionIds(SubscriptionIdAvp[] subscriptionIds)
Sets the set of Subscription-Id AVPs, with all the values in the given array. |
void |
setTerminationCause(net.java.slee.resource.diameter.base.events.avp.TerminationCauseType terminationCause)
Sets the value of the Termination-Cause AVP, of type Enumerated. |
void |
setUsedServiceUnit(UsedServiceUnitAvp usedServiceUnit)
Sets a single Used-Service-Unit AVP in the message, of type Grouped. |
void |
setUsedServiceUnits(UsedServiceUnitAvp[] usedServiceUnits)
Sets the set of Used-Service-Unit AVPs, with all the values in the given array. |
void |
setUserEquipmentInfo(UserEquipmentInfoAvp userEquipmentInfo)
Sets the value of the User-Equipment-Info AVP, of type Grouped. |
| Methods inherited from class org.mobicents.slee.resource.diameter.cca.events.CreditControlMessageImpl |
|---|
getAcctMultiSessionId, getCcRequestNumber, getCcRequestType, getCcSubSessionId, getMultipleServicesCreditControls, hasAcctMultiSessionId, hasCcRequestNumber, hasCcRequestType, hasCcSubSessionId, hasMultipleServicesCreditControl, setAcctMultiSessionId, setCcRequestNumber, setCcRequestType, setCcSubSessionId, setMultipleServicesCreditControl, setMultipleServicesCreditControls |
| Methods inherited from class org.mobicents.slee.resource.diameter.base.events.DiameterMessageImpl |
|---|
addAvp, addAvp, addAvp, addAvp, clone, getAcctApplicationId, getAuthApplicationId, getAvp, getAvp, getAvp, getAvpAsAddress, getAvpAsAddress, getAvpAsCustom, getAvpAsCustom, getAvpAsDiameterIdentity, getAvpAsDiameterIdentity, getAvpAsDiameterURI, getAvpAsDiameterURI, getAvpAsEnumerated, getAvpAsEnumerated, getAvpAsFloat32, getAvpAsFloat32, getAvpAsFloat64, getAvpAsFloat64, getAvpAsGrouped, getAvpAsGrouped, getAvpAsInteger32, getAvpAsInteger32, getAvpAsInteger64, getAvpAsInteger64, getAvpAsOctetString, getAvpAsOctetString, getAvpAsRaw, getAvpAsRaw, getAvpAsTime, getAvpAsTime, getAvpAsUnsigned32, getAvpAsUnsigned32, getAvpAsUnsigned64, getAvpAsUnsigned64, getAvpAsUTF8String, getAvpAsUTF8String, getAvps, getAvpsAsAddress, getAvpsAsAddress, getAvpsAsCustom, getAvpsAsCustom, getAvpsAsDiameterIdentity, getAvpsAsDiameterIdentity, getAvpsAsDiameterURI, getAvpsAsDiameterURI, getAvpsAsEnumerated, getAvpsAsEnumerated, getAvpsAsFloat32, getAvpsAsFloat32, getAvpsAsFloat64, getAvpsAsFloat64, getAvpsAsGrouped, getAvpsAsGrouped, getAvpsAsInteger32, getAvpsAsInteger32, getAvpsAsInteger64, getAvpsAsInteger64, getAvpsAsOctetString, getAvpsAsOctetString, getAvpsAsRaw, getAvpsAsRaw, getAvpsAsTime, getAvpsAsTime, getAvpsAsUnsigned32, getAvpsAsUnsigned32, getAvpsAsUnsigned64, getAvpsAsUnsigned64, getAvpsAsUTF8String, getAvpsAsUTF8String, getCommand, getData, getDestinationHost, getDestinationRealm, getErrorMessage, getErrorReportingHost, getEventTimestamp, getExtensionAvps, getFailedAvp, getFailedAvps, getGenericData, getHeader, getOriginHost, getOriginRealm, getOriginStateId, getProxyInfos, getRedirectHosts, getRedirectHostUsage, getRedirectMaxCacheTime, getResultCode, getRouteRecords, getSessionId, getUserName, getVendorSpecificApplicationId, hasAcctApplicationId, hasAuthApplicationId, hasAvp, hasAvp, hasDestinationHost, hasDestinationRealm, hasErrorMessage, hasErrorReportingHost, hasEventTimestamp, hasFailedAvp, hasOriginHost, hasOriginRealm, hasOriginStateId, hasRedirectHosts, hasRedirectHostUsage, hasRedirectMaxCacheTime, hasResultCode, hasSessionId, hasUserName, hasVendorSpecificApplicationId, removeData, reportAvpFetchError, setAcctApplicationId, setAuthApplicationId, setAvpAsFloat32, setAvpAsFloat64, setAvpAsGrouped, setAvpAsInteger32, setAvpAsInteger64, setAvpAsOctetString, setAvpAsRaw, setAvpAsTime, setAvpAsUnsigned32, setAvpAsUnsigned64, setAvpAsUTF8String, setData, setDestinationHost, setDestinationRealm, setErrorMessage, setErrorReportingHost, setEventTimestamp, setExtensionAvps, setFailedAvp, setFailedAvps, setOriginHost, setOriginRealm, setOriginStateId, setProxyInfo, setProxyInfos, setRedirectHost, setRedirectHosts, setRedirectHostUsage, setRedirectMaxCacheTime, setResultCode, setRouteRecord, setRouteRecords, setSessionId, setUserName, setVendorSpecificApplicationId, toString |
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface net.java.slee.resource.diameter.base.events.DiameterMessage |
|---|
clone, getAvps, getCommand, getDestinationHost, getDestinationRealm, getExtensionAvps, getHeader, getOriginHost, getOriginRealm, getSessionId, hasDestinationHost, hasDestinationRealm, hasOriginHost, hasOriginRealm, hasSessionId, setDestinationHost, setDestinationRealm, setExtensionAvps, setOriginHost, setOriginRealm, setSessionId |
| Constructor Detail |
|---|
public CreditControlRequestImpl(org.jdiameter.api.Message message)
message - the message to construct the Request| Method Detail |
|---|
public java.lang.String getLongName()
getLongName in class org.mobicents.slee.resource.diameter.base.events.DiameterMessageImplpublic java.lang.String getShortName()
getShortName in class org.mobicents.slee.resource.diameter.base.events.DiameterMessageImplpublic byte[] getCcCorrelationId()
CreditControlRequest
getCcCorrelationId in interface CreditControlRequestpublic MultipleServicesIndicatorType getMultipleServicesIndicator()
CreditControlRequest
getMultipleServicesIndicator in interface CreditControlRequestpublic RequestedActionType getRequestedAction()
CreditControlRequest
getRequestedAction in interface CreditControlRequestpublic RequestedServiceUnitAvp getRequestedServiceUnit()
CreditControlRequest
getRequestedServiceUnit in interface CreditControlRequestpublic java.lang.String getServiceContextId()
CreditControlRequest
getServiceContextId in interface CreditControlRequestpublic long getServiceIdentifier()
CreditControlRequest
getServiceIdentifier in interface CreditControlRequestpublic ServiceParameterInfoAvp[] getServiceParameterInfos()
CreditControlRequest
getServiceParameterInfos in interface CreditControlRequestpublic SubscriptionIdAvp[] getSubscriptionIds()
CreditControlRequest
getSubscriptionIds in interface CreditControlRequestpublic net.java.slee.resource.diameter.base.events.avp.TerminationCauseType getTerminationCause()
CreditControlRequest
getTerminationCause in interface CreditControlRequestpublic UsedServiceUnitAvp[] getUsedServiceUnits()
CreditControlRequest
getUsedServiceUnits in interface CreditControlRequestpublic UserEquipmentInfoAvp getUserEquipmentInfo()
CreditControlRequest
getUserEquipmentInfo in interface CreditControlRequestpublic boolean hasCcCorrelationId()
CreditControlRequest
hasCcCorrelationId in interface CreditControlRequestpublic boolean hasMultipleServicesIndicator()
CreditControlRequest
hasMultipleServicesIndicator in interface CreditControlRequestpublic boolean hasRequestedAction()
CreditControlRequest
hasRequestedAction in interface CreditControlRequestpublic boolean hasRequestedServiceUnit()
CreditControlRequest
hasRequestedServiceUnit in interface CreditControlRequestpublic boolean hasServiceContextId()
CreditControlRequest
hasServiceContextId in interface CreditControlRequestpublic boolean hasServiceIdentifier()
CreditControlRequest
hasServiceIdentifier in interface CreditControlRequestpublic boolean hasTerminationCause()
CreditControlRequest
hasTerminationCause in interface CreditControlRequestpublic boolean hasUserEquipmentInfo()
CreditControlRequest
hasUserEquipmentInfo in interface CreditControlRequest
public void setCcCorrelationId(byte[] ccCorrelationId)
throws java.lang.IllegalStateException
CreditControlRequest
setCcCorrelationId in interface CreditControlRequestjava.lang.IllegalStateException
public void setMultipleServicesIndicator(MultipleServicesIndicatorType multipleServicesIndicator)
throws java.lang.IllegalStateException
CreditControlRequest
setMultipleServicesIndicator in interface CreditControlRequestjava.lang.IllegalStateException
public void setRequestedAction(RequestedActionType requestedAction)
throws java.lang.IllegalStateException
CreditControlRequest
setRequestedAction in interface CreditControlRequestjava.lang.IllegalStateException
public void setRequestedServiceUnit(RequestedServiceUnitAvp requestedServiceUnit)
throws java.lang.IllegalStateException
CreditControlRequest
setRequestedServiceUnit in interface CreditControlRequestjava.lang.IllegalStateException
public void setServiceContextId(java.lang.String serviceContextId)
throws java.lang.IllegalStateException
CreditControlRequest
setServiceContextId in interface CreditControlRequestjava.lang.IllegalStateException
public void setServiceIdentifier(long serviceIdentifier)
throws java.lang.IllegalStateException
CreditControlRequest
setServiceIdentifier in interface CreditControlRequestjava.lang.IllegalStateException
public void setServiceParameterInfo(ServiceParameterInfoAvp serviceParameterInfo)
throws java.lang.IllegalStateException
CreditControlRequest
setServiceParameterInfo in interface CreditControlRequestjava.lang.IllegalStateException
public void setServiceParameterInfos(ServiceParameterInfoAvp[] serviceParameterInfos)
throws java.lang.IllegalStateException
CreditControlRequest
setServiceParameterInfos in interface CreditControlRequestjava.lang.IllegalStateException
public void setSubscriptionId(SubscriptionIdAvp subscriptionId)
throws java.lang.IllegalStateException
CreditControlRequest
setSubscriptionId in interface CreditControlRequestjava.lang.IllegalStateException
public void setSubscriptionIds(SubscriptionIdAvp[] subscriptionIds)
throws java.lang.IllegalStateException
CreditControlRequest
setSubscriptionIds in interface CreditControlRequestjava.lang.IllegalStateException
public void setTerminationCause(net.java.slee.resource.diameter.base.events.avp.TerminationCauseType terminationCause)
throws java.lang.IllegalStateException
CreditControlRequest
setTerminationCause in interface CreditControlRequestjava.lang.IllegalStateException
public void setUsedServiceUnit(UsedServiceUnitAvp usedServiceUnit)
throws java.lang.IllegalStateException
CreditControlRequest
setUsedServiceUnit in interface CreditControlRequestjava.lang.IllegalStateException
public void setUsedServiceUnits(UsedServiceUnitAvp[] usedServiceUnits)
throws java.lang.IllegalStateException
CreditControlRequest
setUsedServiceUnits in interface CreditControlRequestjava.lang.IllegalStateException
public void setUserEquipmentInfo(UserEquipmentInfoAvp userEquipmentInfo)
throws java.lang.IllegalStateException
CreditControlRequest
setUserEquipmentInfo in interface CreditControlRequestjava.lang.IllegalStateException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||