public class KeepAliveEvent
extends org.jivesoftware.smack.packet.IQ
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
ELEMENT_NAME
Element name for ping.
|
static java.lang.String |
NAMESPACE
Namespace for ping.
|
Constructor and Description |
---|
KeepAliveEvent()
Constructs empty packet
|
KeepAliveEvent(java.lang.String from,
java.lang.String to)
Construct packet for sending.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getChildElementXML()
Returns the sub-element XML section of this packet
|
createErrorResponse, createResultIQ, getType, setType, toXML
addExtension, deleteProperty, equals, getDefaultLanguage, getError, getExtension, getExtension, getExtensions, getExtensionsXML, getFrom, getPacketID, getProperty, getPropertyNames, getTo, getXmlns, hashCode, nextID, removeExtension, setDefaultXmlns, setError, setFrom, setPacketID, setProperty, setTo
public static final java.lang.String ELEMENT_NAME
public static final java.lang.String NAMESPACE
public KeepAliveEvent()
public KeepAliveEvent(java.lang.String from, java.lang.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.
Jitsi, the OpenSource Java VoIP and Instant Messaging client.
Distributable under Apache license.