net.java.slee.resource.diameter.cca.events.avp
Interface RedirectServerAvp

All Superinterfaces:
java.lang.Cloneable, net.java.slee.resource.diameter.base.events.avp.DiameterAvp, net.java.slee.resource.diameter.base.events.avp.GroupedAvp
All Known Implementing Classes:
RedirectServerAvpImpl

public interface RedirectServerAvp
extends net.java.slee.resource.diameter.base.events.avp.GroupedAvp

 8.37. Redirect-Server AVP


   The Redirect-Server AVP (AVP Code 434) is of type Grouped and
   contains the address information of the redirect server (e.g., HTTP
   redirect server, SIP Server) with which the end user is to be
   connected when the account cannot cover the service cost.  It MUST be
   present when the Final-Unit-Action AVP is set to REDIRECT.

   It is defined as follows (per the grouped-avp-def of RFC 3588
   [DIAMBASE]):

      Redirect-Server ::= < AVP Header: 434 >
                          { Redirect-Address-Type }
                          { Redirect-Server-Address }
        

Author:
Bartosz Baranowski , Alexandre Mendonca

Field Summary
 
Fields inherited from interface net.java.slee.resource.diameter.base.events.avp.DiameterAvp
FLAG_RULE_MAY, FLAG_RULE_MUST, FLAG_RULE_MUSTNOT
 
Method Summary
 RedirectAddressType getRedirectAddressType()
          Returns the value of the Redirect-Address-Type AVP, of type Enumerated.
 java.lang.String getRedirectServerAddress()
          Returns the value of the Redirect-Server-Address AVP, of type UTF8String.
 boolean hasRedirectAddressType()
          Returns true if the Redirect-Address-Type AVP is present in the message.
 boolean hasRedirectServerAddress()
          Returns true if the Redirect-Server-Address AVP is present in the message.
 void setRedirectAddressType(RedirectAddressType redirectAddressType)
          Sets the value of the Redirect-Address-Type AVP, of type Enumerated.
 void setRedirectServerAddress(java.lang.String redirectServerAddress)
          Sets the value of the Redirect-Server-Address AVP, of type UTF8String.
 
Methods inherited from interface net.java.slee.resource.diameter.base.events.avp.GroupedAvp
getExtensionAvps, setExtensionAvps
 
Methods inherited from interface net.java.slee.resource.diameter.base.events.avp.DiameterAvp
byteArrayValue, clone, doubleValue, floatValue, getCode, getMandatoryRule, getName, getProtectedRule, getType, getVendorId, intValue, longValue, octetStringValue, stringValue
 

Method Detail

getRedirectAddressType

RedirectAddressType getRedirectAddressType()
Returns the value of the Redirect-Address-Type AVP, of type Enumerated.
See: RedirectAddressType

Returns:

getRedirectServerAddress

java.lang.String getRedirectServerAddress()
Returns the value of the Redirect-Server-Address AVP, of type UTF8String. If return value is null it implies that value has not been set.

Returns:

hasRedirectAddressType

boolean hasRedirectAddressType()
Returns true if the Redirect-Address-Type AVP is present in the message.

Returns:

hasRedirectServerAddress

boolean hasRedirectServerAddress()
Returns true if the Redirect-Server-Address AVP is present in the message.

Returns:

setRedirectAddressType

void setRedirectAddressType(RedirectAddressType redirectAddressType)
Sets the value of the Redirect-Address-Type AVP, of type Enumerated.
See: RedirectAddressType

Parameters:
redirectAddressType -

setRedirectServerAddress

void setRedirectServerAddress(java.lang.String redirectServerAddress)
Sets the value of the Redirect-Server-Address AVP, of type UTF8String.

Parameters:
redirectServerAddress -


Copyright © 2011. All Rights Reserved.