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, createErrorResponse, createErrorResponse, createResultIQ, getChildElementName, getChildElementNamespace, getChildElementXML, getType, initializeAsResultFor, initialzeAsResultFor, isRequestIQ, setType, toString, toXML
addCommonAttributes, addExtension, addExtensions, appendErrorIfExists, getDefaultLanguage, getError, getExtension, getExtension, getExtensions, getExtensions, getFrom, getLanguage, getPacketID, getStanzaId, getTo, hasExtension, hasExtension, hasStanzaIdSet, logCommonAttributes, overrideExtension, removeExtension, removeExtension, setError, setError, setFrom, setFrom, setLanguage, setPacketID, setStanzaId, setStanzaId, setTo, setTo
public 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