|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.util.AbstractCollection<E>
java.util.AbstractList<E>
java.util.Vector
com.ibm.diameter.packet.AvpVector
public class AvpVector
The AvpVector class is a utility class that provides convenience methods for searching for specific Avps in a Vector of Avps.
Field Summary |
---|
Fields inherited from class java.util.Vector |
---|
capacityIncrement, elementCount, elementData |
Fields inherited from class java.util.AbstractList |
---|
modCount |
Constructor Summary | |
---|---|
AvpVector()
Constructor to create an empty Avp vector. |
|
AvpVector(java.util.Collection c)
Constructor to create Avp vector that contains all of the AVPs in an existing collection of AVPs. |
|
AvpVector(int initialCapacity)
Constructor to create an empty Avp vector. |
|
AvpVector(int initialCapacity,
int capacityIncrement)
Constructor to create an empty Avp vector. |
Method Summary | |
---|---|
Avp |
findAvpByAvpCode(int avpCode)
Finds an AVP in the AvpVector by avp code. |
java.util.ArrayList |
findAvpListByAvpCode(int avpCode)
Finds an ArrayList of AVPS in the AvpVector with the specified avp code |
Avp |
getAcctApplicationIdAvp()
Returns the Acct-Application-Id AVP (avp code = 259). |
java.util.ArrayList |
getAcctApplicationIdList()
Returns an ArrayList of Acct-Application-Id AVPs (avp code = 259). |
java.util.ArrayList |
getApplicationIdInfoList()
Returns an ArrayList of ApplicationIdInfo objects that represent the Auth-Application-Id and Acct-Application-Id AVPs
held in the AvpVector. |
Avp |
getAuthApplicationIdAvp()
Returns the Auth-Application-Id AVP (avp code = 258). |
java.util.ArrayList |
getAuthApplicationIdList()
Returns an ArrayList of Auth-Application-Id AVPs (avp code = 258). |
Avp |
getErrorMessageAvp()
Returns the Error-Message AVP (avp code = 281) |
Avp |
getErrorReportingHostAvp()
Returns the Error-Reporting-Host AVP (avp code = 294) |
Avp |
getFailedAvpAvp()
Returns the Failed-AVP AVP (avp code = 279) |
Avp |
getHostIpAddressAvp()
Returns the Host-IP-Address AVP (avp code = 257) |
Avp |
getInbandSecurityIdAvp()
Returns the Inband-Security-Id AVP (avp code = 299) |
Avp |
getOriginHostAvp()
Returns the Origin-Host AVP (avp code = 264) |
Avp |
getOriginRealmAvp()
Returns the Origin-Realm AVP (avp code = 296) |
Avp |
getResultCodeAvp()
Returns the Result-Code AVP (avp code = 264) |
Avp |
getSessionIdAvp()
Returns the Session-Id AVP (avp code = 263) |
Avp |
getUserNameAvp()
Returns the User-Name AVP (avp code = 1) |
java.util.ArrayList |
getVendorSpecificApplicationIdAvps()
Returns an ArrayList of Vendor-Specific-Application-Id AVPs (avp code = 260) |
java.util.ArrayList |
getVendorSpecificApplicationIdInfoList()
Returns an ArrayList of ApplicationIdInfo objects that represent the applications that
are supported according to the Vendor-Specific-Application-Id AVP. |
Methods inherited from class java.util.Vector |
---|
add, add, addAll, addAll, addElement, capacity, clear, clone, contains, containsAll, copyInto, elementAt, elements, ensureCapacity, equals, firstElement, get, hashCode, indexOf, indexOf, insertElementAt, isEmpty, lastElement, lastIndexOf, lastIndexOf, remove, remove, removeAll, removeAllElements, removeElement, removeElementAt, removeRange, retainAll, set, setElementAt, setSize, size, subList, toArray, toArray, toString, trimToSize |
Methods inherited from class java.util.AbstractList |
---|
iterator, listIterator, listIterator |
Methods inherited from class java.lang.Object |
---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface java.util.List |
---|
iterator, listIterator, listIterator |
Constructor Detail |
---|
public AvpVector(int initialCapacity, int capacityIncrement)
initialCapacity
- int containing the initial capacity of the AvpVectorcapacityIncrement
- int containing the amount the Vector will grow whenever it reaches its current capacity.public AvpVector(int initialCapacity)
initialCapacity
- int containing the initial capacity of the AvpVectorpublic AvpVector()
public AvpVector(java.util.Collection c)
c
- A collection of Avp objectsMethod Detail |
---|
public Avp getInbandSecurityIdAvp()
public Avp getOriginHostAvp()
public Avp getOriginRealmAvp()
public Avp getUserNameAvp()
public Avp getSessionIdAvp()
public java.util.ArrayList getVendorSpecificApplicationIdAvps()
public java.util.ArrayList getApplicationIdInfoList()
ApplicationIdInfo
objects that represent the Auth-Application-Id and Acct-Application-Id AVPs
held in the AvpVector.
ApplicationIdInfo
objects if ApplicaitonId AVPs if exist. If none exist, an empty ArrayList will be returned.public java.util.ArrayList getVendorSpecificApplicationIdInfoList()
ApplicationIdInfo
objects that represent the applications that
are supported according to the Vendor-Specific-Application-Id AVP.
public Avp getAcctApplicationIdAvp()
public java.util.ArrayList getAcctApplicationIdList()
public Avp getAuthApplicationIdAvp()
public java.util.ArrayList getAuthApplicationIdList()
public Avp getErrorMessageAvp()
public Avp getErrorReportingHostAvp()
public Avp getFailedAvpAvp()
public Avp getHostIpAddressAvp()
public Avp getResultCodeAvp()
public Avp findAvpByAvpCode(int avpCode)
avpCode
- An int holding the avp code to search for.
public java.util.ArrayList findAvpListByAvpCode(int avpCode)
avpCode
- The avp code to search for
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |