public class Transcript
extends org.jivesoftware.smack.packet.IQ
| Constructor and Description |
|---|
Transcript(java.lang.String sessionID)
Creates a transcript request for the given sessionID.
|
Transcript(java.lang.String sessionID,
java.util.List<org.jivesoftware.smack.packet.Stanza> packets)
Creates a new transcript for the given sessionID and list of packets.
|
| Modifier and Type | Method and Description |
|---|---|
protected org.jivesoftware.smack.packet.IQ.IQChildElementXmlStringBuilder |
getIQChildElementBuilder(org.jivesoftware.smack.packet.IQ.IQChildElementXmlStringBuilder buf) |
java.util.List<org.jivesoftware.smack.packet.Stanza> |
getPackets()
Returns the list of Messages and Presences that were sent to the room.
|
java.lang.String |
getSessionID()
Returns id of the session that generated this conversation transcript.
|
createErrorResponse, createResultIQ, getChildElementName, getChildElementNamespace, getChildElementXML, getType, isRequestIQ, setType, toXMLaddCommonAttributes, addExtension, addExtensions, appendErrorIfExists, getDefaultLanguage, getError, getExtension, getExtension, getExtensions, getExtensions, getExtensionsXML, getFrom, getLanguage, getPacketID, getStanzaId, getTo, hasExtension, hasExtension, hasStanzaIdSet, overrideExtension, removeExtension, removeExtension, setError, setFrom, setLanguage, setPacketID, setStanzaId, setTo, toStringpublic Transcript(java.lang.String sessionID)
sessionID - the id of the session to get the conversation transcript.public Transcript(java.lang.String sessionID,
java.util.List<org.jivesoftware.smack.packet.Stanza> packets)
sessionID - the id of the session that generated this conversation transcript.packets - the list of messages and presences send to the room.public java.lang.String getSessionID()
public java.util.List<org.jivesoftware.smack.packet.Stanza> getPackets()
protected org.jivesoftware.smack.packet.IQ.IQChildElementXmlStringBuilder getIQChildElementBuilder(org.jivesoftware.smack.packet.IQ.IQChildElementXmlStringBuilder buf)
getIQChildElementBuilder in class org.jivesoftware.smack.packet.IQ