|
Jitsi: the OpenSource Java VoIP and Instant Messaging client. | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.java.sip.communicator.impl.protocol.jabber.extensions.whiteboard.WhiteboardSessionPacketExtension
public class WhiteboardSessionPacketExtension
Whiteboard session packet extension.
| Field Summary | |
|---|---|
static String |
ACTION_LEAVE
A type string constant indicating that the user would like to leave the current white board session. |
static String |
ELEMENT_NAME
The name of the XML element used for transport of white-board parameters. |
static String |
NAMESPACE
The names XMPP space that the white-board elements belong to. |
| Constructor Summary | |
|---|---|
WhiteboardSessionPacketExtension(String xml)
WhiteboardSessionPacketExtension constructor with a XML-SVG String. |
|
WhiteboardSessionPacketExtension(WhiteboardSessionJabberImpl session,
String contactAddress,
String action)
Constructs and initializes a WhiteboardObjectPacketExtension. |
|
| Method Summary | |
|---|---|
String |
getAction()
Returns the action associated with this session packet extension. |
String |
getContactAddress()
Returns the address of the contact associated with this packet extension |
String |
getElementName()
Returns the root element name. |
String |
getNamespace()
Returns the root element XML namespace. |
String |
getWhiteboardSessionId()
Returns the white board session identifier. |
void |
setAction(String action)
Sets the action associated with this session packet extension. |
void |
setContactAddress(String contactAddress)
Sets the address of the contact associated with this packet extension |
void |
setWhiteboardSessionId(String whiteboardSessionId)
Sets the white board session identifier. |
String |
toXML()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final String ACTION_LEAVE
public static final String ELEMENT_NAME
public static final String NAMESPACE
| Constructor Detail |
|---|
public WhiteboardSessionPacketExtension(WhiteboardSessionJabberImpl session,
String contactAddress,
String action)
session - The WhiteboardSession to be treatedcontactAddress - The address of the contact associated with this
packet extensionaction - The current action associated with the WhiteboardSession.public WhiteboardSessionPacketExtension(String xml)
xml - XML-SVG String| Method Detail |
|---|
public String getElementName()
getElementName in interface org.jivesoftware.smack.packet.PacketExtensionpublic String getNamespace()
getNamespace in interface org.jivesoftware.smack.packet.PacketExtensionpublic String toXML()
toXML in interface org.jivesoftware.smack.packet.PacketExtensionpublic String getWhiteboardSessionId()
public void setWhiteboardSessionId(String whiteboardSessionId)
whiteboardSessionId - the identifier of the sessionpublic String getAction()
public void setAction(String action)
action - the action associated with this session packet extension.public String getContactAddress()
public void setContactAddress(String contactAddress)
contactAddress - the address of the contact associated with this
packet extension
|
Jitsi: the OpenSource Java VoIP and Instant Messaging client. | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||