net.java.slee.resource.diameter.base.events
Interface ExtensionDiameterMessage

All Superinterfaces:
java.lang.Cloneable, DiameterMessage
All Known Implementing Classes:
AbortSessionAnswerImpl, AbortSessionRequestImpl, AccountingAnswerImpl, AccountingRequestImpl, CapabilitiesExchangeAnswerImpl, CapabilitiesExchangeRequestImpl, ErrorAnswerImpl, ExtensionDiameterMessageImpl, ReAuthAnswerImpl, ReAuthRequestImpl, SessionTerminationAnswerImpl, SessionTerminationRequestImpl

public interface ExtensionDiameterMessage
extends DiameterMessage

Defines an interface representing the Extension-Diameter-Message command. From the Diameter Base Protocol (rfc3588.txt) specification:

 9.7.0.  Extension-Diameter-Message
 
     An implementation of DiameterMessage for extension messages--those not defined by the
     Diameter RA being used.
 
     It follows the same pattern as the standard message types, but with the DiameterCommand supplied
     by the user.
 
     The AVPs are exposed as the set of 'extension AVP's', the same way as exposed for messages
     which define a "* [ AVP ]" line in the BNF definition of the message.
 
     Message Format
 
       <Extension-Diameter-Message> ::= < Diameter Header: 0, PXY >
                  < Session-Id >
                  { Origin-Host }
                  { Origin-Realm }
                  { Destination-Host }
                  { Destination-Realm }
                * [ AVP ]
 


Field Summary
static int commandCode
           
 
Method Summary
 boolean hasDestinationHost()
          Returns true if the Destination-Host AVP is present in the message.
 boolean hasDestinationRealm()
          Returns true if the Destination-Realm AVP is present in the message.
 
Methods inherited from interface net.java.slee.resource.diameter.base.events.DiameterMessage
clone, getAvps, getCommand, getDestinationHost, getDestinationRealm, getExtensionAvps, getHeader, getOriginHost, getOriginRealm, getSessionId, hasOriginHost, hasOriginRealm, hasSessionId, setDestinationHost, setDestinationRealm, setExtensionAvps, setOriginHost, setOriginRealm, setSessionId
 

Field Detail

commandCode

static final int commandCode
See Also:
Constant Field Values
Method Detail

hasDestinationRealm

boolean hasDestinationRealm()
Returns true if the Destination-Realm AVP is present in the message.


hasDestinationHost

boolean hasDestinationHost()
Returns true if the Destination-Host AVP is present in the message.



Copyright © 2008. All Rights Reserved.