public class Transcript extends IQ
DEFAULT_LANGUAGE, ID_NOT_AVAILABLE
Constructor and Description |
---|
Transcript(String sessionID)
Creates a transcript request for the given sessionID.
|
Transcript(String sessionID,
List<Packet> packets)
Creates a new transcript for the given sessionID and list of packets.
|
Modifier and Type | Method and Description |
---|---|
String |
getChildElementXML()
Returns the sub-element XML section of the IQ packet, or null if there
isn't one.
|
List<Packet> |
getPackets()
Returns the list of Messages and Presences that were sent to the room.
|
String |
getSessionID()
Returns id of the session that generated this conversation transcript.
|
createErrorResponse, createResultIQ, getType, setType, toXML
addCommonAttributes, addExtension, addExtensions, equals, getDefaultLanguage, getError, getExtension, getExtension, getExtensions, getExtensionsXML, getFrom, getPacketID, getTo, getXmlns, hashCode, nextID, removeExtension, setDefaultXmlns, setError, setFrom, setPacketID, setTo, toString
public Transcript(String sessionID)
sessionID
- the id of the session to get the conversation transcript.public Transcript(String sessionID, List<Packet> packets)
sessionID
- the id of the session that generated this conversation transcript.packets
- the list of messages and presences send to the room.public String getSessionID()
public List<Packet> getPackets()
public String getChildElementXML()
IQ
Extensions of this class must override this method.
getChildElementXML
in class IQ