public class RoomTransfer extends Object implements PacketExtension
TransferRequest
.Modifier and Type | Class and Description |
---|---|
static class |
RoomTransfer.Provider |
static class |
RoomTransfer.Type
Type of entity being invited to a groupchat support session.
|
Modifier and Type | Field and Description |
---|---|
static String |
ELEMENT_NAME
Element name of the packet extension.
|
static String |
NAMESPACE
Namespace of the packet extension.
|
Constructor and Description |
---|
RoomTransfer(RoomTransfer.Type type,
String invitee,
String sessionID,
String reason) |
Modifier and Type | Method and Description |
---|---|
String |
getElementName()
Returns the root element name.
|
String |
getInviter() |
String |
getNamespace()
Returns the root element XML namespace.
|
String |
getReason() |
String |
getRoom() |
String |
getSessionID() |
String |
toXML()
Returns the XML representation of the PacketExtension.
|
public static final String ELEMENT_NAME
public static final String NAMESPACE
public RoomTransfer(RoomTransfer.Type type, String invitee, String sessionID, String reason)
public String getElementName()
PacketExtension
getElementName
in interface PacketExtension
public String getNamespace()
PacketExtension
getNamespace
in interface PacketExtension
public String getInviter()
public String getSessionID()
public String toXML()
PacketExtension
toXML
in interface PacketExtension