|
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.Objectorg.jivesoftware.smack.packet.Packet
org.jivesoftware.smack.packet.IQ
net.java.sip.communicator.impl.protocol.jabber.extensions.keepalive.KeepAliveEvent
public class KeepAliveEvent
KeepAlive Event. Events are sent if there are no received packets for a specified interval of time. XEP-0199: XMPP Ping.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class org.jivesoftware.smack.packet.IQ |
|---|
org.jivesoftware.smack.packet.IQ.Type |
| Field Summary | |
|---|---|
static String |
ELEMENT_NAME
Element name for ping. |
static String |
NAMESPACE
Namespace for ping. |
| Fields inherited from class org.jivesoftware.smack.packet.Packet |
|---|
DEFAULT_LANGUAGE, ID_NOT_AVAILABLE |
| Constructor Summary | |
|---|---|
KeepAliveEvent()
Constructs empty packet |
|
KeepAliveEvent(String from,
String to)
Construct packet for sending. |
|
| Method Summary | |
|---|---|
String |
getChildElementXML()
Returns the sub-element XML section of this packet |
| Methods inherited from class org.jivesoftware.smack.packet.IQ |
|---|
createErrorResponse, createResultIQ, getType, setType, toXML |
| Methods inherited from class org.jivesoftware.smack.packet.Packet |
|---|
addExtension, deleteProperty, equals, getDefaultLanguage, getError, getExtension, getExtension, getExtensions, getExtensionsXML, getFrom, getPacketID, getProperty, getPropertyNames, getTo, getXmlns, hashCode, nextID, removeExtension, setDefaultXmlns, setError, setFrom, setPacketID, setProperty, setTo |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final String ELEMENT_NAME
public static final String NAMESPACE
| Constructor Detail |
|---|
public KeepAliveEvent()
public KeepAliveEvent(String from,
String to)
from - the address of the contact that the packet coming from.to - the address of the contact that the packet is to be sent to.| Method Detail |
|---|
public String getChildElementXML()
getChildElementXML in class org.jivesoftware.smack.packet.IQ
|
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 | |||||||||