|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface GqAbortSessionRequest
7.1.7 Abort-Session-Request(ASR) command
The ASR command, indicated by the Command-Code field set to 274 and the "R" bit set in the Command Flags field, is
sent by the SPDF to inform the AF that all bearer resources for the authorized session have become unavailable.
Message Format:
<Abort-Session-Request> ::= < Diameter Header: 274, REQ, PXY >
< Session-Id >
{ Origin-Host }
{ Origin-Realm }
{ Destination-Realm }
{ Destination-Host }
{ Auth-Application-Id }
{ Abort-Cause }
[ Origin-State-Id ]
*[ Proxy-Info ]
*[ Route-Record ]
[ AVP ]
| Field Summary | |
|---|---|
static int |
COMMAND_CODE
|
| Method Summary | |
|---|---|
AbortCause |
getAbortCause()
Returns the value of the Abort-Cause AVP, of type AbortCause. |
long |
getAuthApplicationId()
Returns the value of the Auth-Application-Id AVP, of type Unsigned32. |
long |
getOriginStateId()
Returns the value of the Origin-State-Id AVP, of type Unsigned32. |
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. |
boolean |
hasAbortCause()
Returns true if the Abort-Cause AVP is present in the message. |
boolean |
hasAuthApplicationId()
Returns true if the Auth-Application-Id AVP is present in the message. |
boolean |
hasOriginStateId()
Returns true if the Origin-State-Id AVP is present in the message. |
void |
setAbortCause(AbortCause abortCause)
Sets the value of the Abort-Cause AVP, of type AbortCause. |
void |
setAuthApplicationId(long authApplicationId)
Sets the value of the Auth-Application-Id AVP, of type Unsigned32. |
void |
setOriginStateId(long originStateId)
Sets the value of the Origin-State-Id AVP, of type Unsigned32. |
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. |
| 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 COMMAND_CODE
| Method Detail |
|---|
long getAuthApplicationId()
void setAuthApplicationId(long authApplicationId)
throws java.lang.IllegalStateException
authApplicationId -
java.lang.IllegalStateExceptionboolean hasAuthApplicationId()
net.java.slee.resource.diameter.base.events.avp.ProxyInfoAvp[] getProxyInfos()
void setProxyInfo(net.java.slee.resource.diameter.base.events.avp.ProxyInfoAvp proxyInfo)
throws java.lang.IllegalStateException
proxyInfo -
java.lang.IllegalStateException
void setProxyInfos(net.java.slee.resource.diameter.base.events.avp.ProxyInfoAvp[] proxyInfos)
throws java.lang.IllegalStateException
proxyInfos -
java.lang.IllegalStateExceptionnet.java.slee.resource.diameter.base.events.avp.DiameterIdentity[] getRouteRecords()
void setRouteRecord(net.java.slee.resource.diameter.base.events.avp.DiameterIdentity routeRecord)
throws java.lang.IllegalStateException
routeRecord -
java.lang.IllegalStateException
void setRouteRecords(net.java.slee.resource.diameter.base.events.avp.DiameterIdentity[] routeRecords)
throws java.lang.IllegalStateException
routeRecords -
java.lang.IllegalStateExceptionboolean hasOriginStateId()
long getOriginStateId()
hasOriginStateId() to check the existence of this AVP.
java.lang.IllegalStateException - if the Origin-State-Id AVP has not been set on this messagevoid setOriginStateId(long originStateId)
java.lang.IllegalStateException - if setOriginStateId has already been calledboolean hasAbortCause()
AbortCause getAbortCause()
void setAbortCause(AbortCause abortCause)
throws java.lang.IllegalStateException
java.lang.IllegalStateException - if setAbortCause has already been called
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||