org.mobicents.slee.resource.diameter.ro.events
Class RoCreditControlMessageImpl

java.lang.Object
  extended by org.mobicents.slee.resource.diameter.base.events.DiameterMessageImpl
      extended by org.mobicents.slee.resource.diameter.ro.events.RoCreditControlMessageImpl
All Implemented Interfaces:
java.lang.Cloneable, net.java.slee.resource.diameter.base.events.DiameterMessage, RoCreditControlMessage
Direct Known Subclasses:
RoCreditControlAnswerImpl, RoCreditControlRequestImpl

public abstract class RoCreditControlMessageImpl
extends org.mobicents.slee.resource.diameter.base.events.DiameterMessageImpl
implements RoCreditControlMessage

Author:
Bartosz Baranowski , Alexandre Mendonca

Field Summary
 
Fields inherited from class org.mobicents.slee.resource.diameter.base.events.DiameterMessageImpl
message
 
Constructor Summary
RoCreditControlMessageImpl(org.jdiameter.api.Message message)
           
 
Method Summary
 long getCcRequestNumber()
          Returns the value of the CC-Request-Number AVP, of type Unsigned32.
 net.java.slee.resource.diameter.cca.events.avp.CcRequestType getCcRequestType()
          Returns the value of the CC-Request-Type AVP, of type Enumerated.
 net.java.slee.resource.diameter.cca.events.avp.MultipleServicesCreditControlAvp[] getMultipleServicesCreditControls()
          Returns the set of Multiple-Services-Credit-Control AVPs.
 ServiceInformation getServiceInformation()
          Returns the value of the CC-Request-Type AVP, of type Enumerated.
 boolean hasCcRequestNumber()
          Returns true if the CC-Request-Number AVP is present in the message.
 boolean hasCcRequestType()
          Returns true if the CC-Request-Type AVP is present in the message.
 boolean hasMultipleServicesCreditControl()
          Returns tru if Multiple-Services-Credit-Control AVP is present
 boolean hasServiceInformation()
          Returns true if the CC-Request-Type AVP is present in the message.
 void setCcRequestNumber(long ccRequestNumber)
          Sets the value of the CC-Request-Number AVP, of type Unsigned32.
 void setCcRequestType(net.java.slee.resource.diameter.cca.events.avp.CcRequestType ccRequestType)
          Sets the value of the CC-Request-Type AVP, of type Enumerated.
 void setMultipleServicesCreditControl(net.java.slee.resource.diameter.cca.events.avp.MultipleServicesCreditControlAvp multipleServicesCreditControl)
          Sets a single Multiple-Services-Credit-Control AVP in the message, of type Grouped.
 void setMultipleServicesCreditControls(net.java.slee.resource.diameter.cca.events.avp.MultipleServicesCreditControlAvp[] multipleServicesCreditControls)
          Sets the set of Multiple-Services-Credit-Control AVPs, with all the values in the given array.
 void setServiceInformation(ServiceInformation si)
          Sets the value of the CC-Request-Type AVP, of type Enumerated.
 
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, getAvpAsIPFilterRule, getAvpAsIPFilterRule, 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, getAvpsAsIPFilterRule, getAvpsAsIPFilterRule, getAvpsAsOctetString, getAvpsAsOctetString, getAvpsAsRaw, getAvpsAsRaw, getAvpsAsTime, getAvpsAsTime, getAvpsAsUnsigned32, getAvpsAsUnsigned32, getAvpsAsUnsigned64, getAvpsAsUnsigned64, getAvpsAsUTF8String, getAvpsAsUTF8String, getCommand, getData, getDestinationHost, getDestinationRealm, getErrorMessage, getErrorReportingHost, getEventTimestamp, getExtensionAvps, getFailedAvp, getFailedAvps, getGenericData, getHeader, getLongName, getOriginHost, getOriginRealm, getOriginStateId, getProxyInfos, getRedirectHosts, getRedirectHostUsage, getRedirectMaxCacheTime, getResultCode, getRouteRecords, getSessionId, getShortName, 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.ro.events.RoCreditControlMessage
getAuthApplicationId, getProxyInfos, getRouteRecords, hasAuthApplicationId, setAuthApplicationId, setProxyInfo, setProxyInfos, setRouteRecord, setRouteRecords
 
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

RoCreditControlMessageImpl

public RoCreditControlMessageImpl(org.jdiameter.api.Message message)
Parameters:
message -
Method Detail

getCcRequestNumber

public long getCcRequestNumber()
Description copied from interface: RoCreditControlMessage
Returns the value of the CC-Request-Number AVP, of type Unsigned32.

Specified by:
getCcRequestNumber in interface RoCreditControlMessage
Returns:

setCcRequestNumber

public void setCcRequestNumber(long ccRequestNumber)
                        throws java.lang.IllegalStateException
Description copied from interface: RoCreditControlMessage
Sets the value of the CC-Request-Number AVP, of type Unsigned32.

Specified by:
setCcRequestNumber in interface RoCreditControlMessage
Throws:
java.lang.IllegalStateException

hasCcRequestNumber

public boolean hasCcRequestNumber()
Description copied from interface: RoCreditControlMessage
Returns true if the CC-Request-Number AVP is present in the message.

Specified by:
hasCcRequestNumber in interface RoCreditControlMessage
Returns:

getCcRequestType

public net.java.slee.resource.diameter.cca.events.avp.CcRequestType getCcRequestType()
Description copied from interface: RoCreditControlMessage
Returns the value of the CC-Request-Type AVP, of type Enumerated.

Specified by:
getCcRequestType in interface RoCreditControlMessage
Returns:

setCcRequestType

public void setCcRequestType(net.java.slee.resource.diameter.cca.events.avp.CcRequestType ccRequestType)
                      throws java.lang.IllegalStateException
Description copied from interface: RoCreditControlMessage
Sets the value of the CC-Request-Type AVP, of type Enumerated.

Specified by:
setCcRequestType in interface RoCreditControlMessage
Throws:
java.lang.IllegalStateException

hasCcRequestType

public boolean hasCcRequestType()
Description copied from interface: RoCreditControlMessage
Returns true if the CC-Request-Type AVP is present in the message.

Specified by:
hasCcRequestType in interface RoCreditControlMessage
Returns:

hasMultipleServicesCreditControl

public boolean hasMultipleServicesCreditControl()
Description copied from interface: RoCreditControlMessage
Returns tru if Multiple-Services-Credit-Control AVP is present

Specified by:
hasMultipleServicesCreditControl in interface RoCreditControlMessage
Returns:

setMultipleServicesCreditControl

public void setMultipleServicesCreditControl(net.java.slee.resource.diameter.cca.events.avp.MultipleServicesCreditControlAvp multipleServicesCreditControl)
                                      throws java.lang.IllegalStateException
Description copied from interface: RoCreditControlMessage
Sets a single Multiple-Services-Credit-Control AVP in the message, of type Grouped.

Specified by:
setMultipleServicesCreditControl in interface RoCreditControlMessage
Throws:
java.lang.IllegalStateException

setMultipleServicesCreditControls

public void setMultipleServicesCreditControls(net.java.slee.resource.diameter.cca.events.avp.MultipleServicesCreditControlAvp[] multipleServicesCreditControls)
                                       throws java.lang.IllegalStateException
Description copied from interface: RoCreditControlMessage
Sets the set of Multiple-Services-Credit-Control AVPs, with all the values in the given array.

Specified by:
setMultipleServicesCreditControls in interface RoCreditControlMessage
Throws:
java.lang.IllegalStateException

getMultipleServicesCreditControls

public net.java.slee.resource.diameter.cca.events.avp.MultipleServicesCreditControlAvp[] getMultipleServicesCreditControls()
Description copied from interface: RoCreditControlMessage
Returns the set of Multiple-Services-Credit-Control AVPs.

Specified by:
getMultipleServicesCreditControls in interface RoCreditControlMessage
Returns:

getServiceInformation

public ServiceInformation getServiceInformation()
Description copied from interface: RoCreditControlMessage
Returns the value of the CC-Request-Type AVP, of type Enumerated.

Specified by:
getServiceInformation in interface RoCreditControlMessage
Returns:

setServiceInformation

public void setServiceInformation(ServiceInformation si)
                           throws java.lang.IllegalStateException
Description copied from interface: RoCreditControlMessage
Sets the value of the CC-Request-Type AVP, of type Enumerated.

Specified by:
setServiceInformation in interface RoCreditControlMessage
Throws:
java.lang.IllegalStateException

hasServiceInformation

public boolean hasServiceInformation()
Description copied from interface: RoCreditControlMessage
Returns true if the CC-Request-Type AVP is present in the message.

Specified by:
hasServiceInformation in interface RoCreditControlMessage
Returns:


Copyright © 2011. All Rights Reserved.