net.java.slee.resource.diameter.ro.events
Interface RoCreditControlMessage

All Superinterfaces:
java.lang.Cloneable, net.java.slee.resource.diameter.base.events.DiameterMessage
All Known Subinterfaces:
RoCreditControlAnswer, RoCreditControlRequest
All Known Implementing Classes:
RoCreditControlAnswerImpl, RoCreditControlMessageImpl, RoCreditControlRequestImpl

public interface RoCreditControlMessage
extends net.java.slee.resource.diameter.base.events.DiameterMessage

Base interface for RoCreditControlMessage

Author:
Bartosz Baranowski , Alexandre Mendonca

Method Summary
 long getAuthApplicationId()
          Returns the value of the Auth-Application-Id AVP, of type Unsigned32.
 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.
 net.java.slee.resource.diameter.base.events.avp.ProxyInfoAvp[] getProxyInfos()
          Returns the set of Proxy-Info AVPs.
 net.java.slee.resource.diameter.base.events.avp.DiameterIdentity[] getRouteRecords()
          Returns the set of Route-Record AVPs.
 ServiceInformation getServiceInformation()
          Returns the value of the CC-Request-Type AVP, of type Enumerated.
 boolean hasAuthApplicationId()
          Returns true if the Auth-Application-Id AVP is present in the message.
 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 setAuthApplicationId(long authApplicationId)
          Sets the value of the Auth-Application-Id AVP, of type Unsigned32.
 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 setProxyInfo(net.java.slee.resource.diameter.base.events.avp.ProxyInfoAvp proxyInfo)
          Sets a single Proxy-Info AVP in the message, of type Grouped.
 void setProxyInfos(net.java.slee.resource.diameter.base.events.avp.ProxyInfoAvp[] proxyInfos)
          Sets the set of Proxy-Info AVPs, with all the values in the given array.
 void setRouteRecord(net.java.slee.resource.diameter.base.events.avp.DiameterIdentity routeRecord)
          Sets a single Route-Record AVP in the message, of type DiameterIdentity.
 void setRouteRecords(net.java.slee.resource.diameter.base.events.avp.DiameterIdentity[] routeRecords)
          Sets the set of Route-Record 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 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
 

Method Detail

getAuthApplicationId

long getAuthApplicationId()
Returns the value of the Auth-Application-Id AVP, of type Unsigned32.

Returns:

setAuthApplicationId

void setAuthApplicationId(long authApplicationId)
                          throws java.lang.IllegalStateException
Sets the value of the Auth-Application-Id AVP, of type Unsigned32.

Parameters:
authApplicationId -
Throws:
java.lang.IllegalStateException

hasAuthApplicationId

boolean hasAuthApplicationId()
Returns true if the Auth-Application-Id AVP is present in the message.

Returns:

getCcRequestNumber

long getCcRequestNumber()
Returns the value of the CC-Request-Number AVP, of type Unsigned32.

Returns:

setCcRequestNumber

void setCcRequestNumber(long ccRequestNumber)
                        throws java.lang.IllegalStateException
Sets the value of the CC-Request-Number AVP, of type Unsigned32.

Parameters:
ccRequestNumber -
Throws:
java.lang.IllegalStateException

hasCcRequestNumber

boolean hasCcRequestNumber()
Returns true if the CC-Request-Number AVP is present in the message.

Returns:

getCcRequestType

net.java.slee.resource.diameter.cca.events.avp.CcRequestType getCcRequestType()
Returns the value of the CC-Request-Type AVP, of type Enumerated.

Returns:

setCcRequestType

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

Parameters:
ccRequestType -
Throws:
java.lang.IllegalStateException

hasCcRequestType

boolean hasCcRequestType()
Returns true if the CC-Request-Type AVP is present in the message.

Returns:

hasMultipleServicesCreditControl

boolean hasMultipleServicesCreditControl()
Returns tru if Multiple-Services-Credit-Control AVP is present

Returns:

getMultipleServicesCreditControls

net.java.slee.resource.diameter.cca.events.avp.MultipleServicesCreditControlAvp[] getMultipleServicesCreditControls()
Returns the set of Multiple-Services-Credit-Control AVPs.

Returns:

setMultipleServicesCreditControl

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

Parameters:
multipleServicesCreditControl -
Throws:
java.lang.IllegalStateException

setMultipleServicesCreditControls

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

Parameters:
multipleServicesCreditControls -
Throws:
java.lang.IllegalStateException

getProxyInfos

net.java.slee.resource.diameter.base.events.avp.ProxyInfoAvp[] getProxyInfos()
Returns the set of Proxy-Info AVPs.

Returns:

setProxyInfo

void setProxyInfo(net.java.slee.resource.diameter.base.events.avp.ProxyInfoAvp proxyInfo)
                  throws java.lang.IllegalStateException
Sets a single Proxy-Info AVP in the message, of type Grouped.

Parameters:
proxyInfo -
Throws:
java.lang.IllegalStateException

setProxyInfos

void setProxyInfos(net.java.slee.resource.diameter.base.events.avp.ProxyInfoAvp[] proxyInfos)
                   throws java.lang.IllegalStateException
Sets the set of Proxy-Info AVPs, with all the values in the given array.

Parameters:
proxyInfos -
Throws:
java.lang.IllegalStateException

getRouteRecords

net.java.slee.resource.diameter.base.events.avp.DiameterIdentity[] getRouteRecords()
Returns the set of Route-Record AVPs.

Returns:

setRouteRecord

void setRouteRecord(net.java.slee.resource.diameter.base.events.avp.DiameterIdentity routeRecord)
                    throws java.lang.IllegalStateException
Sets a single Route-Record AVP in the message, of type DiameterIdentity.

Parameters:
routeRecord -
Throws:
java.lang.IllegalStateException

setRouteRecords

void setRouteRecords(net.java.slee.resource.diameter.base.events.avp.DiameterIdentity[] routeRecords)
                     throws java.lang.IllegalStateException
Sets the set of Route-Record AVPs, with all the values in the given array.

Parameters:
routeRecords -
Throws:
java.lang.IllegalStateException

getServiceInformation

ServiceInformation getServiceInformation()
Returns the value of the CC-Request-Type AVP, of type Enumerated.

Returns:

setServiceInformation

void setServiceInformation(ServiceInformation si)
                           throws java.lang.IllegalStateException
Sets the value of the CC-Request-Type AVP, of type Enumerated.

Parameters:
ServiceInformation -
Throws:
java.lang.IllegalStateException

hasServiceInformation

boolean hasServiceInformation()
Returns true if the CC-Request-Type AVP is present in the message.

Returns:


Copyright © 2011. All Rights Reserved.