FileDocCategorySizeDatePackage
ViaList.javaAPI DocphoneME MR2 API (J2ME)1959Wed May 02 18:00:42 BST 2007gov.nist.siplite.header

ViaList

public final class ViaList extends HeaderList
Keeps a list and a hashtable of via header functions.
version
JAIN-SIP-1.1 This code is in the public domain.

Fields Summary
Constructors Summary
public ViaList()
Default Constructor.

        super(VIA);
    
Methods Summary
public java.lang.Objectclone()
make a clone of this header list. This supercedes the parent function of the same signature.

return
clone of this Header.

        ViaList vlist = new ViaList();
        
        for (int i = 0; i < this.sipHeaderVector.size(); i++) {
            ViaHeader v = (ViaHeader)
            ((ViaHeader) (this.sipHeaderVector.elementAt(i))).clone();
            vlist.add(v);
        }
        return (Object) vlist;