org.mobicents.slee.resource.diameter.gq.events
Class GqAbortSessionRequestImpl

java.lang.Object
  extended by org.mobicents.slee.resource.diameter.base.events.DiameterMessageImpl
      extended by org.mobicents.slee.resource.diameter.gq.events.GqAbortSessionRequestImpl
All Implemented Interfaces:
java.lang.Cloneable, net.java.slee.resource.diameter.base.events.DiameterMessage, GqAbortSessionRequest

public class GqAbortSessionRequestImpl
extends org.mobicents.slee.resource.diameter.base.events.DiameterMessageImpl
implements 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 ]
 

Author:
Yulian Oifa

Field Summary
 
Fields inherited from class org.mobicents.slee.resource.diameter.base.events.DiameterMessageImpl
message
 
Fields inherited from interface net.java.slee.resource.diameter.gq.events.GqAbortSessionRequest
COMMAND_CODE
 
Constructor Summary
GqAbortSessionRequestImpl(org.jdiameter.api.Message message)
           
 
Method Summary
 AbortCause getAbortCause()
          Returns the value of the Abort-Cause AVP, of type AbortCause.
 java.lang.String getLongName()
           
 java.lang.String getShortName()
           
 boolean hasAbortCause()
          Returns true if the Abort-Cause AVP is present in the message.
 void setAbortCause(AbortCause abortCause)
          Sets the value of the Abort-Cause AVP, of type AbortCause.
 
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, 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.gq.events.GqAbortSessionRequest
getAuthApplicationId, getOriginStateId, getProxyInfos, getRouteRecords, hasAuthApplicationId, hasOriginStateId, setAuthApplicationId, setOriginStateId, 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

GqAbortSessionRequestImpl

public GqAbortSessionRequestImpl(org.jdiameter.api.Message message)
Method Detail

hasAbortCause

public boolean hasAbortCause()
Description copied from interface: GqAbortSessionRequest
Returns true if the Abort-Cause AVP is present in the message.

Specified by:
hasAbortCause in interface GqAbortSessionRequest

getAbortCause

public AbortCause getAbortCause()
Description copied from interface: GqAbortSessionRequest
Returns the value of the Abort-Cause AVP, of type AbortCause.

Specified by:
getAbortCause in interface GqAbortSessionRequest
Returns:
the value of the Abort-Cause AVP or null if it has not been set on this message

setAbortCause

public void setAbortCause(AbortCause abortCause)
                   throws java.lang.IllegalStateException
Description copied from interface: GqAbortSessionRequest
Sets the value of the Abort-Cause AVP, of type AbortCause.

Specified by:
setAbortCause in interface GqAbortSessionRequest
Throws:
java.lang.IllegalStateException - if setAbortCause has already been called

getLongName

public java.lang.String getLongName()
Specified by:
getLongName in class org.mobicents.slee.resource.diameter.base.events.DiameterMessageImpl

getShortName

public java.lang.String getShortName()
Specified by:
getShortName in class org.mobicents.slee.resource.diameter.base.events.DiameterMessageImpl


Copyright © 2012. All Rights Reserved.