|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface GqSessionTerminationAnswer
7.1.6 Session-Termination-Answer(STA) command
The STA command, indicated by the Command-Code field set to 275 and the "R" bit cleared in the Command Flags
field, is sent by the SPDF to the AF in response to the STR command.
Message Format:
<Session-Termination-Answer> ::= < Diameter Header: 275, PXY >
< Session-Id >
{ Origin-Host }
{ Origin-Realm }
[ Result-Code ]
[ Experimental-Result ]
[ Error-Message ]
[ Error-Reporting-Host ]
*[ Failed-AVP ]
[ Origin-State-Id ]
*[ Redirect-Host ]
[ Redirect-Host-Usage ]
[ Redirect-Max-Cache-Time ]
*[ Proxy-Info ]
[ AVP ]
| Field Summary | |
|---|---|
static int |
COMMAND_CODE
|
| Method Summary | |
|---|---|
java.lang.String |
getErrorMessage()
Returns the value of the Error-Message AVP, of type UTF8String. |
net.java.slee.resource.diameter.base.events.avp.DiameterIdentity |
getErrorReportingHost()
Returns the value of the Error-Reporting-Host AVP, of type DiameterIdentity. |
net.java.slee.resource.diameter.base.events.avp.ExperimentalResultAvp |
getExperimentalResult()
Returns the value of the Experimental-Result AVP, of type ExperimentalResultAvp. |
net.java.slee.resource.diameter.base.events.avp.FailedAvp[] |
getFailedAvps()
Returns the set of Failed-AVP AVPs. |
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.DiameterURI[] |
getRedirectHosts()
Returns the set of Redirect-Host AVPs. |
net.java.slee.resource.diameter.base.events.avp.RedirectHostUsageType |
getRedirectHostUsage()
Returns the value of the Redirect-Host-Usage AVP, of type RedirectHostUsageType. |
long |
getRedirectMaxCacheTime()
Returns the value of the Redirect-Max-Cache-Time AVP, of type Unsigned32. |
long |
getResultCode()
Returns the value of the Result-Code AVP, of type Unsigned32. |
boolean |
hasErrorMessage()
Returns true if the Error-Message AVP is present in the message. |
boolean |
hasErrorReportingHost()
Returns true if the Error-Reporting-Host AVP is present in the message. |
boolean |
hasExperimentalResult()
Returns true if the Experimental-Result AVP is present in the message. |
boolean |
hasOriginStateId()
Returns true if the Origin-State-Id AVP is present in the message. |
boolean |
hasRedirectHostUsage()
Returns true if the Redirect-Host-Usage AVP is present in the message. |
boolean |
hasRedirectMaxCacheTime()
Returns true if the Redirect-Max-Cache-Time AVP is present in the message. |
boolean |
hasResultCode()
Returns true if the Result-Code AVP is present in the message. |
void |
setErrorMessage(java.lang.String errorMessage)
Sets the value of the Error-Message AVP, of type UTF8String. |
void |
setErrorReportingHost(net.java.slee.resource.diameter.base.events.avp.DiameterIdentity errorReportingHost)
Sets the value of the Error-Reporting-Host AVP, of type DiameterIdentity. |
void |
setExperimentalResult(net.java.slee.resource.diameter.base.events.avp.ExperimentalResultAvp experimentalResult)
Sets the value of the Experimental-Result AVP, of type ExperimentalResultAvp. |
void |
setFailedAvp(net.java.slee.resource.diameter.base.events.avp.FailedAvp failedAvp)
Sets a single Failed-AVP AVP in the message, of type Grouped. |
void |
setFailedAvps(net.java.slee.resource.diameter.base.events.avp.FailedAvp[] failedAvps)
Sets the set of Failed-AVP AVPs, with all the values in the given array. |
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 |
setRedirectHost(net.java.slee.resource.diameter.base.events.avp.DiameterURI redirectHost)
Sets a single Redirect-Host AVP in the message, of type DiameterIdentity. |
void |
setRedirectHosts(net.java.slee.resource.diameter.base.events.avp.DiameterURI[] redirectHosts)
Sets the set of Redirect-Host AVPs, with all the values in the given array. |
void |
setRedirectHostUsage(net.java.slee.resource.diameter.base.events.avp.RedirectHostUsageType errorReportingHost)
Sets the value of the Redirect-Host-Usage AVP, of type RedirectHostUsageType. |
void |
setRedirectMaxCacheTime(long redirectMaxCacheTime)
Sets the value of the Redirect-Max-Cache-Time AVP, of type Unsigned32. |
void |
setResultCode(long resultCode)
Sets the value of the Result-Code AVP, of type Unsigned32. |
| 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 |
|---|
boolean hasResultCode()
long getResultCode()
hasResultCode() to check the existence of this AVP.
java.lang.IllegalStateException - if the Result-Code AVP has not been set on this messagevoid setResultCode(long resultCode)
java.lang.IllegalStateException - if setResultCode has already been callednet.java.slee.resource.diameter.base.events.avp.FailedAvp[] getFailedAvps()
void setFailedAvp(net.java.slee.resource.diameter.base.events.avp.FailedAvp failedAvp)
throws java.lang.IllegalStateException
failedAvp -
java.lang.IllegalStateException
void setFailedAvps(net.java.slee.resource.diameter.base.events.avp.FailedAvp[] failedAvps)
throws java.lang.IllegalStateException
failedAvps -
java.lang.IllegalStateExceptionnet.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.IllegalStateExceptionboolean hasErrorMessage()
java.lang.String getErrorMessage()
void setErrorMessage(java.lang.String errorMessage)
throws java.lang.IllegalStateException
java.lang.IllegalStateException - if setErrorMessage has already been calledboolean hasErrorReportingHost()
net.java.slee.resource.diameter.base.events.avp.DiameterIdentity getErrorReportingHost()
void setErrorReportingHost(net.java.slee.resource.diameter.base.events.avp.DiameterIdentity errorReportingHost)
throws java.lang.IllegalStateException
java.lang.IllegalStateException - if setErrorReportingHost has already been calledboolean hasExperimentalResult()
net.java.slee.resource.diameter.base.events.avp.ExperimentalResultAvp getExperimentalResult()
void setExperimentalResult(net.java.slee.resource.diameter.base.events.avp.ExperimentalResultAvp experimentalResult)
throws java.lang.IllegalStateException
java.lang.IllegalStateException - if setErrorReportingHost has already been calledboolean 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 called
void setRedirectHostUsage(net.java.slee.resource.diameter.base.events.avp.RedirectHostUsageType errorReportingHost)
throws java.lang.IllegalStateException
java.lang.IllegalStateException - if setErrorReportingHost has already been calledboolean hasRedirectHostUsage()
net.java.slee.resource.diameter.base.events.avp.RedirectHostUsageType getRedirectHostUsage()
boolean hasRedirectMaxCacheTime()
long getRedirectMaxCacheTime()
hasRedirectMaxCacheTime() to check the existence
of this AVP.
java.lang.IllegalStateException - if the Redirect-Max-Cache-Time AVP has not been set on this messagevoid setRedirectMaxCacheTime(long redirectMaxCacheTime)
java.lang.IllegalStateException - if setRedirectMaxCacheTime has already been callednet.java.slee.resource.diameter.base.events.avp.DiameterURI[] getRedirectHosts()
void setRedirectHost(net.java.slee.resource.diameter.base.events.avp.DiameterURI redirectHost)
throws java.lang.IllegalStateException
redirectHost -
java.lang.IllegalStateException
void setRedirectHosts(net.java.slee.resource.diameter.base.events.avp.DiameterURI[] redirectHosts)
throws java.lang.IllegalStateException
redirectHosts -
java.lang.IllegalStateException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||