Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
 package tools.sniffer;
 import java.util.*;

A list of Sniff messages. Each one corresponds to a call Id. Acknowledgement: This code was contributed by Tim Bardzil <>. This code was completed as part of a class project in TLEN 5843 Singaling Protocols, taught by Professor Douglas C. Sicker, Ph.D. at the University of Colorado, Boulder. Minor modifications to the code were made by M. Ranganathan .

Tim Bardzil <>
public class SniffMessageList extends ArrayList {
    protected static String fileName;
    public String getCallID() {
        SniffMessage temp = (SniffMessagesuper.get(0);
        return temp.getCallID();
    public String toXML() {
        String xmlMessages = new String();
        ListIterator i = super.listIterator();
        while (i.hasNext()) {
            xmlMessages += ((;
        return xmlMessages;
New to GrepCode? Check out our FAQ X