|
NIST SIP Parser and Stack (v1.2) API | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--java.util.AbstractCollection | +--java.util.AbstractSet | +--java.util.TreeSet | +--gov.nist.javax.sip.stack.MessageLogList
This class stores a sorted list messages for logging.
Constructor Summary | |
MessageLogList(Comparator comp)
Constructor. |
|
MessageLogList(String callId,
Comparator comp)
Constructor given callId and a comparator. |
Method Summary | |
boolean |
add(Object obj)
Add a comparable object to the messgageLog |
void |
addDescription(String description)
set a descriptive string for this log (for id purposes). |
String |
flush()
Get an XML String for this message list. |
Methods inherited from class java.util.TreeSet |
addAll, clear, clone, comparator, contains, first, headSet, isEmpty, iterator, last, remove, size, subSet, tailSet |
Methods inherited from class java.util.AbstractSet |
equals, hashCode, removeAll |
Methods inherited from class java.util.AbstractCollection |
containsAll, retainAll, toArray, toArray, toString |
Methods inherited from class java.lang.Object |
getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface java.util.Set |
containsAll, equals, hashCode, removeAll, retainAll, toArray, toArray |
Constructor Detail |
public MessageLogList(Comparator comp)
comp
- comparator for sorting the logspublic MessageLogList(String callId, Comparator comp)
callId
- is the call id for which to store the log.comp
- is the comparator to sort the log records.Method Detail |
public void addDescription(String description)
description
- is the decriptive string to add.public boolean add(Object obj)
add
in interface Set
add
in class TreeSet
obj
- is the comparable object to add to the message log.public String flush()
|
NIST SIP Parser and Stack (v1.2) API | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |