dk.i1.diameter
Class AVP_Grouped
Object
dk.i1.diameter.AVP
dk.i1.diameter.AVP_Grouped
public class AVP_Grouped
- extends AVP
AVP grouping multiple AVPs together.
The following example shows how to construct a grouped AVP.
Message ccr = ...;
ccr.add(new AVP_Grouped(ProtocolConstants.DI_VENDOR_SPECIFIC_APPLICATION_ID,
new AVP[] {
new AVP_Unsigned32(ProtocolConstants.DI_VENDOR_ID, my_vendor_id).setM(),
new AVP_Unsigned32(ProtocolConstants.DI_ACCT_APPLICATION_ID, my_application_id).setM()
}
).setM()
);
Methods inherited from class Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AVP_Grouped
public AVP_Grouped(AVP a)
throws InvalidAVPLengthException
- Throws:
InvalidAVPLengthException
AVP_Grouped
public AVP_Grouped(int code,
AVP... g)
AVP_Grouped
public AVP_Grouped(int code,
int vendor_id,
AVP... g)
queryAVPs
public AVP[] queryAVPs()
setAVPs
public void setAVPs(AVP... g)