org.mobicents.slee.resource.diameter.base.events
Class DisconnectPeerRequestImpl

java.lang.Object
  extended by org.mobicents.slee.resource.diameter.base.events.DiameterMessageImpl
      extended by org.mobicents.slee.resource.diameter.base.events.DisconnectPeerRequestImpl
All Implemented Interfaces:
java.lang.Cloneable, DiameterMessage, DisconnectPeerRequest

public class DisconnectPeerRequestImpl
extends DiameterMessageImpl
implements DisconnectPeerRequest

Implementation of DisconnectPeerRequest.

Author:
Alexandre Mendonca , Bartosz Baranowski
See Also:
DiameterMessageImpl

Field Summary
 
Fields inherited from class org.mobicents.slee.resource.diameter.base.events.DiameterMessageImpl
message
 
Fields inherited from interface net.java.slee.resource.diameter.base.events.DisconnectPeerRequest
commandCode
 
Constructor Summary
DisconnectPeerRequestImpl(org.jdiameter.api.Message message)
           
 
Method Summary
 DisconnectCauseType getDisconnectCause()
          Returns the value of the Disconnect-Cause AVP, of type Enumerated.
 java.lang.String getLongName()
          This method returns long name of this message type - Like Device-Watchdog-Request
 java.lang.String getShortName()
          This method return short name of this message type - for instance DWR,DWA for DeviceWatchdog message
 boolean hasDisconnectCause()
          Returns true if the Disconnect-Cause AVP is present in the message.
 void setDisconnectCause(DisconnectCauseType disconnectCause)
          Sets the value of the Disconnect-Cause AVP, of type Enumerated.
 
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.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

DisconnectPeerRequestImpl

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

getLongName

public java.lang.String getLongName()
Description copied from class: DiameterMessageImpl
This method returns long name of this message type - Like Device-Watchdog-Request

Specified by:
getLongName in class DiameterMessageImpl
Returns:

getShortName

public java.lang.String getShortName()
Description copied from class: DiameterMessageImpl
This method return short name of this message type - for instance DWR,DWA for DeviceWatchdog message

Specified by:
getShortName in class DiameterMessageImpl
Returns:

getDisconnectCause

public DisconnectCauseType getDisconnectCause()
Description copied from interface: DisconnectPeerRequest
Returns the value of the Disconnect-Cause AVP, of type Enumerated.

Specified by:
getDisconnectCause in interface DisconnectPeerRequest
Returns:
the value of the Disconnect-Cause AVP or null if it has not been set on this message

hasDisconnectCause

public boolean hasDisconnectCause()
Description copied from interface: DisconnectPeerRequest
Returns true if the Disconnect-Cause AVP is present in the message.

Specified by:
hasDisconnectCause in interface DisconnectPeerRequest

setDisconnectCause

public void setDisconnectCause(DisconnectCauseType disconnectCause)
Description copied from interface: DisconnectPeerRequest
Sets the value of the Disconnect-Cause AVP, of type Enumerated.

Specified by:
setDisconnectCause in interface DisconnectPeerRequest


Copyright © 2011. All Rights Reserved.