|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface RoCreditControlRequest
Interface for RoCreditControlRequest type of message. It has following structure:
::= < Diameter Header: 272, REQ, PXY >
< Session-Id >
{ Origin-Host }
{ Origin-Realm }
{ Destination-Realm }
{ Auth-Application-Id }
{ Service-Context-Id }
{ CC-Request-Type }
{ CC-Request-Number }
[ Destination-Host ]
[ User-Name ]
[ Origin-State-Id ]
[ Event-Timestamp ]
*[ Subscription-Id ]
[ Termination-Cause ]
[ Requested-Action ]
[ Multiple-Services-Indicator ]
*[ Multiple-Services-Credit-Control ]
[ User-Equipment-Info ]
*[ Proxy-Info ]
*[ Route-Record ]
[ Service-Information ]
*[ AVP ]
| Field Summary | |
|---|---|
static int |
commandCode
|
| Method Summary | |
|---|---|
java.util.Date |
getEventTimestamp()
Returns the value of the Event-Timestamp AVP, of type Time. |
net.java.slee.resource.diameter.cca.events.avp.MultipleServicesIndicatorType |
getMultipleServicesIndicator()
Returns the value of the Multiple-Services-Indicator AVP, of type Enumerated. |
long |
getOriginStateId()
Returns the value of the Origin-State-Id AVP, of type Unsigned32. |
net.java.slee.resource.diameter.cca.events.avp.RequestedActionType |
getRequestedAction()
Returns the value of the Requested-Action AVP, of type Enumerated. |
java.lang.String |
getServiceContextId()
Returns the value of the Service-Context-Id AVP, of type UTF8String. |
net.java.slee.resource.diameter.cca.events.avp.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. |
net.java.slee.resource.diameter.cca.events.avp.UserEquipmentInfoAvp |
getUserEquipmentInfo()
Returns the value of the User-Equipment-Info AVP, of type Grouped. |
java.lang.String |
getUserName()
Returns the value of the User-Name AVP, of type UTF8String. |
boolean |
hasEventTimestamp()
Returns true if the Event-Timestamp AVP is present in the message. |
boolean |
hasMultipleServicesIndicator()
Returns true if the Multiple-Services-Indicator AVP is present in the message. |
boolean |
hasOriginStateId()
Returns true if the Origin-State-Id AVP is present in the message. |
boolean |
hasRequestedAction()
Returns true if the Requested-Action AVP is present in the message. |
boolean |
hasServiceContextId()
Returns true if the Service-Context-Id 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. |
boolean |
hasUserName()
Returns true if the User-Name AVP is present in the message. |
void |
setEventTimestamp(java.util.Date eventTimestamp)
Sets the value of the Event-Timestamp AVP, of type Time. |
void |
setMultipleServicesIndicator(net.java.slee.resource.diameter.cca.events.avp.MultipleServicesIndicatorType multipleServicesIndicator)
Sets the value of the Multiple-Services-Indicator AVP, of type Enumerated. |
void |
setOriginStateId(long originStateId)
Sets the value of the Origin-State-Id AVP, of type Unsigned32. |
void |
setRequestedAction(net.java.slee.resource.diameter.cca.events.avp.RequestedActionType requestedAction)
Sets the value of the Requested-Action AVP, of type Enumerated. |
void |
setServiceContextId(java.lang.String serviceContextId)
Sets the value of the Service-Context-Id AVP, of type UTF8String. |
void |
setSubscriptionId(net.java.slee.resource.diameter.cca.events.avp.SubscriptionIdAvp subscriptionId)
Sets a single Subscription-Id AVP in the message, of type Grouped. |
void |
setSubscriptionIds(net.java.slee.resource.diameter.cca.events.avp.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 |
setUserEquipmentInfo(net.java.slee.resource.diameter.cca.events.avp.UserEquipmentInfoAvp userEquipmentInfo)
Sets the value of the User-Equipment-Info AVP, of type Grouped. |
void |
setUserName(java.lang.String userName)
Sets the value of the User-Name AVP, of type UTF8String. |
| Methods inherited from interface net.java.slee.resource.diameter.ro.events.RoCreditControlMessage |
|---|
getAuthApplicationId, getCcRequestNumber, getCcRequestType, getMultipleServicesCreditControls, getProxyInfos, getRouteRecords, getServiceInformation, hasAuthApplicationId, hasCcRequestNumber, hasCcRequestType, hasMultipleServicesCreditControl, hasServiceInformation, setAuthApplicationId, setCcRequestNumber, setCcRequestType, setMultipleServicesCreditControl, setMultipleServicesCreditControls, setProxyInfo, setProxyInfos, setRouteRecord, setRouteRecords, setServiceInformation |
| 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 |
| Field Detail |
|---|
static final int commandCode
| Method Detail |
|---|
java.lang.String getServiceContextId()
void setServiceContextId(java.lang.String serviceContextId)
throws java.lang.IllegalStateException
serviceContextId -
java.lang.IllegalStateExceptionboolean hasServiceContextId()
java.lang.String getUserName()
void setUserName(java.lang.String userName)
throws java.lang.IllegalStateException
userName -
java.lang.IllegalStateExceptionboolean hasUserName()
long getOriginStateId()
void setOriginStateId(long originStateId)
throws java.lang.IllegalStateException
originStateId -
java.lang.IllegalStateExceptionboolean hasOriginStateId()
java.util.Date getEventTimestamp()
void setEventTimestamp(java.util.Date eventTimestamp)
throws java.lang.IllegalStateException
eventTimestamp -
java.lang.IllegalStateExceptionboolean hasEventTimestamp()
net.java.slee.resource.diameter.cca.events.avp.SubscriptionIdAvp[] getSubscriptionIds()
void setSubscriptionId(net.java.slee.resource.diameter.cca.events.avp.SubscriptionIdAvp subscriptionId)
throws java.lang.IllegalStateException
subscriptionId -
java.lang.IllegalStateException
void setSubscriptionIds(net.java.slee.resource.diameter.cca.events.avp.SubscriptionIdAvp[] subscriptionIds)
throws java.lang.IllegalStateException
subscriptionIds -
java.lang.IllegalStateExceptionnet.java.slee.resource.diameter.base.events.avp.TerminationCauseType getTerminationCause()
void setTerminationCause(net.java.slee.resource.diameter.base.events.avp.TerminationCauseType terminationCause)
throws java.lang.IllegalStateException
terminationCause -
java.lang.IllegalStateExceptionboolean hasTerminationCause()
net.java.slee.resource.diameter.cca.events.avp.RequestedActionType getRequestedAction()
void setRequestedAction(net.java.slee.resource.diameter.cca.events.avp.RequestedActionType requestedAction)
throws java.lang.IllegalStateException
requestedAction -
java.lang.IllegalStateExceptionboolean hasRequestedAction()
net.java.slee.resource.diameter.cca.events.avp.MultipleServicesIndicatorType getMultipleServicesIndicator()
void setMultipleServicesIndicator(net.java.slee.resource.diameter.cca.events.avp.MultipleServicesIndicatorType multipleServicesIndicator)
throws java.lang.IllegalStateException
multipleServicesIndicator -
java.lang.IllegalStateExceptionboolean hasMultipleServicesIndicator()
net.java.slee.resource.diameter.cca.events.avp.UserEquipmentInfoAvp getUserEquipmentInfo()
void setUserEquipmentInfo(net.java.slee.resource.diameter.cca.events.avp.UserEquipmentInfoAvp userEquipmentInfo)
throws java.lang.IllegalStateException
userEquipmentInfo -
java.lang.IllegalStateExceptionboolean hasUserEquipmentInfo()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||