dk.i1.diameter
Class AVP_Unsigned32

Object
  extended by dk.i1.diameter.AVP
      extended by dk.i1.diameter.AVP_Unsigned32
Direct Known Subclasses:
AVP_Time

public class AVP_Unsigned32
extends AVP

32-bit unsigned integer AVP. RFC3855 describes the Unsigned32 AVP type. Java does not have an appropriate unsigned data type, so this class is functionally equivalent to AVP_Integer32


Field Summary
 
Fields inherited from class dk.i1.diameter.AVP
code, vendor_id
 
Constructor Summary
AVP_Unsigned32(AVP a)
           
AVP_Unsigned32(int code, int value)
           
AVP_Unsigned32(int code, int vendor_id, int value)
           
 
Method Summary
 int queryValue()
           
 void setValue(int value)
           
 
Methods inherited from class dk.i1.diameter.AVP
isMandatory, isPrivate, isVendorSpecific, queryPayload, setM, setMandatory, setPrivate
 
Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AVP_Unsigned32

public AVP_Unsigned32(AVP a)
               throws InvalidAVPLengthException
Throws:
InvalidAVPLengthException

AVP_Unsigned32

public AVP_Unsigned32(int code,
                      int value)

AVP_Unsigned32

public AVP_Unsigned32(int code,
                      int vendor_id,
                      int value)
Method Detail

queryValue

public int queryValue()

setValue

public void setValue(int value)