|
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.AbstractPacketExtension
net.java.sip.communicator.impl.protocol.jabber.extensions.coin.EndpointPacketExtension
public class EndpointPacketExtension
Endpoint packet extension.
| Field Summary | |
|---|---|
static String |
ELEMENT_DISCONNECTION
Disconnection element name. |
static String |
ELEMENT_DISPLAY_TEXT
Display text element name. |
static String |
ELEMENT_JOINING
Joining element name. |
static String |
ELEMENT_NAME
The name of the element that contains the endpoint data. |
static String |
ELEMENT_STATUS
Status element name. |
static String |
ENTITY_ATTR_NAME
Entity attribute name. |
static String |
NAMESPACE
The namespace that endpoint belongs to. |
static String |
STATE_ATTR_NAME
Entity attribute name. |
| Fields inherited from class net.java.sip.communicator.impl.protocol.jabber.extensions.AbstractPacketExtension |
|---|
attributes |
| Constructor Summary | |
|---|---|
EndpointPacketExtension(String entity)
Constructor. |
|
| Method Summary | |
|---|---|
DisconnectionType |
getDisconnectionType()
Get disconnection type. |
String |
getDisplayText()
Get display text. |
JoiningType |
getJoiningType()
Get joining type. |
EndpointStatusType |
getStatus()
Get status. |
void |
setDisconnectionType(DisconnectionType disconnectionType)
Set disconnection type. |
void |
setDisplayText(String displayText)
Set the display text. |
void |
setJoiningType(JoiningType joiningType)
Set joining type. |
void |
setStatus(EndpointStatusType status)
Set status. |
String |
toXML()
Returns an XML representation of this extension. |
| Methods inherited from class net.java.sip.communicator.impl.protocol.jabber.extensions.AbstractPacketExtension |
|---|
addChildExtension, getAttribute, getAttributeAsInt, getAttributeAsInt, getAttributeAsString, getAttributeAsURI, getAttributeNames, getChildExtensions, getChildExtensionsOfType, getElementName, getFirstChildOfType, getNamespace, getText, removeAttribute, setAttribute, setNamespace, setText |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final String NAMESPACE
public static final String ELEMENT_NAME
public static final String ENTITY_ATTR_NAME
public static final String STATE_ATTR_NAME
public static final String ELEMENT_DISPLAY_TEXT
public static final String ELEMENT_STATUS
public static final String ELEMENT_DISCONNECTION
public static final String ELEMENT_JOINING
| Constructor Detail |
|---|
public EndpointPacketExtension(String entity)
entity - entity| Method Detail |
|---|
public void setDisplayText(String displayText)
displayText - display textpublic void setStatus(EndpointStatusType status)
status - statuspublic void setDisconnectionType(DisconnectionType disconnectionType)
disconnectionType - disconnection type.public void setJoiningType(JoiningType joiningType)
joiningType - joining type.public String getDisplayText()
public EndpointStatusType getStatus()
public DisconnectionType getDisconnectionType()
public JoiningType getJoiningType()
public String toXML()
toXML in interface org.jivesoftware.smack.packet.PacketExtensiontoXML in class AbstractPacketExtension
|
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 | |||||||||