org.psepr.jClient
Class ExpireExtension
java.lang.Object
org.psepr.jClient.ExpireExtension
- All Implemented Interfaces:
- org.jivesoftware.smack.packet.PacketExtension
public class ExpireExtension
- extends java.lang.Object
- implements org.jivesoftware.smack.packet.PacketExtension
Extension to insert the Jabber expire information into the packet.
PsEPR relies on packets going away after a while. Well, "relies"
is a bit string -- it likes them to die off and it makes error
recovery better.
- Author:
- Robert.Adams@intel.com
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ExpireExtension
public ExpireExtension()
ExpireExtension
public ExpireExtension(int period)
getExpirationPeriod
public int getExpirationPeriod()
setExpirationPeriod
public void setExpirationPeriod(int x)
getElementName
public java.lang.String getElementName()
- Specified by:
getElementName in interface org.jivesoftware.smack.packet.PacketExtension
getNamespace
public java.lang.String getNamespace()
- Specified by:
getNamespace in interface org.jivesoftware.smack.packet.PacketExtension
toXML
public java.lang.String toXML()
- Specified by:
toXML in interface org.jivesoftware.smack.packet.PacketExtension