|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.mobicents.slee.resource.diameter.base.events.avp.DiameterAvpImpl
org.mobicents.slee.resource.diameter.base.events.avp.GroupedAvpImpl
public class GroupedAvpImpl
GroupedAvpImpl.java
Super project: mobicents
12:05:02 PM Jul 8, 2008
| Field Summary | |
|---|---|
protected org.jdiameter.api.AvpSet |
avpSet
|
| Fields inherited from class org.mobicents.slee.resource.diameter.base.events.avp.DiameterAvpImpl |
|---|
code, log, mnd, name, parser, prt, type, vendorId |
| Fields inherited from interface net.java.slee.resource.diameter.base.events.avp.DiameterAvp |
|---|
FLAG_RULE_MAY, FLAG_RULE_MUST, FLAG_RULE_MUSTNOT |
| Constructor Summary | |
|---|---|
GroupedAvpImpl(int code,
long vendorId,
int mnd,
int prt,
byte[] value)
|
|
| Method Summary | |
|---|---|
byte[] |
byteArrayValue()
Return the raw contents of this AVP |
java.lang.Object |
clone()
Creates and returns a deep copy of this AVP instance. |
double |
doubleValue()
The value of this AVP if the Diameter type can be represented in a Java double value (e.g., Float64, Float32) |
float |
floatValue()
The value of this AVP if the Diameter type can be represented in a Java float value (e.g., Float32) |
protected long[] |
getAllAvpAsUInt32(int code)
|
protected DiameterIdentityAvp |
getAvpAsIdentity(int code)
|
protected long |
getAvpAsUInt32(int code)
|
DiameterAvp[] |
getExtensionAvps()
Returns the set of extension AVPs. |
boolean |
hasExtensionAvps()
|
int |
intValue()
The value of this AVP if the Diameter type can be represented in a Java int value (e.g., Integer32) |
long |
longValue()
The value of this AVP if the Diameter type can be represented in a Java long value (e.g., Integer64, Unsigned32, Integer32) |
protected void |
setAvpAsByteArray(int code,
byte[] value,
boolean mandatory)
|
protected void |
setAvpAsIdentity(int code,
java.lang.String value,
boolean octet,
boolean mandatory,
boolean... remove)
|
protected void |
setAvpAsUInt32(int code,
long value,
boolean mandatory,
boolean... remove)
|
void |
setExtensionAvps(DiameterAvp[] extensions)
Sets the set of extension AVPs with all the values in the given array. |
java.lang.String |
stringValue()
The value of this AVP if the Diameter type is equivalent to a Java String value (e.g., UTF8String) |
| Methods inherited from class org.mobicents.slee.resource.diameter.base.events.avp.DiameterAvpImpl |
|---|
getCode, getMandatoryRule, getName, getProtectedRule, getType, getVendorId, 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.avp.DiameterAvp |
|---|
getCode, getMandatoryRule, getName, getProtectedRule, getType, getVendorId |
| Field Detail |
|---|
protected org.jdiameter.api.AvpSet avpSet
| Constructor Detail |
|---|
public GroupedAvpImpl(int code,
long vendorId,
int mnd,
int prt,
byte[] value)
| Method Detail |
|---|
public void setExtensionAvps(DiameterAvp[] extensions)
throws AvpNotAllowedException
GroupedAvp
setExtensionAvps in interface GroupedAvpAvpNotAllowedExceptionpublic DiameterAvp[] getExtensionAvps()
GroupedAvp
getExtensionAvps in interface GroupedAvppublic double doubleValue()
DiameterAvp
doubleValue in interface DiameterAvpdoubleValue in class DiameterAvpImplpublic float floatValue()
DiameterAvp
floatValue in interface DiameterAvpfloatValue in class DiameterAvpImplpublic int intValue()
DiameterAvp
intValue in interface DiameterAvpintValue in class DiameterAvpImplpublic long longValue()
DiameterAvp
longValue in interface DiameterAvplongValue in class DiameterAvpImplpublic java.lang.String stringValue()
DiameterAvp
stringValue in interface DiameterAvpstringValue in class DiameterAvpImplpublic boolean hasExtensionAvps()
hasExtensionAvps in interface GroupedAvppublic byte[] byteArrayValue()
DiameterAvp
byteArrayValue in interface DiameterAvpbyteArrayValue in class DiameterAvpImplpublic java.lang.Object clone()
DiameterAvp
clone in interface DiameterAvpclone in class DiameterAvpImpl
protected void setAvpAsIdentity(int code,
java.lang.String value,
boolean octet,
boolean mandatory,
boolean... remove)
protected DiameterIdentityAvp getAvpAsIdentity(int code)
protected void setAvpAsByteArray(int code,
byte[] value,
boolean mandatory)
protected void setAvpAsUInt32(int code,
long value,
boolean mandatory,
boolean... remove)
protected long getAvpAsUInt32(int code)
protected long[] getAllAvpAsUInt32(int code)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||