Package org.jivesoftware.smackx.time
Class EntityTimeManager
- java.lang.Object
-
- org.jivesoftware.smack.Manager
-
- org.jivesoftware.smackx.time.EntityTimeManager
-
public final class EntityTimeManager extends org.jivesoftware.smack.Manager
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
disable()
void
enable()
static EntityTimeManager
getInstanceFor(org.jivesoftware.smack.XMPPConnection connection)
Time
getTime(org.jxmpp.jid.Jid jid)
boolean
isTimeSupported(org.jxmpp.jid.Jid jid)
static void
setAutoEnable(boolean autoEnable)
-
-
-
Method Detail
-
setAutoEnable
public static void setAutoEnable(boolean autoEnable)
-
getInstanceFor
public static EntityTimeManager getInstanceFor(org.jivesoftware.smack.XMPPConnection connection)
-
enable
public void enable()
-
disable
public void disable()
-
isTimeSupported
public boolean isTimeSupported(org.jxmpp.jid.Jid jid) throws org.jivesoftware.smack.SmackException.NoResponseException, org.jivesoftware.smack.XMPPException.XMPPErrorException, org.jivesoftware.smack.SmackException.NotConnectedException, java.lang.InterruptedException
- Throws:
org.jivesoftware.smack.SmackException.NoResponseException
org.jivesoftware.smack.XMPPException.XMPPErrorException
org.jivesoftware.smack.SmackException.NotConnectedException
java.lang.InterruptedException
-
getTime
public Time getTime(org.jxmpp.jid.Jid jid) throws org.jivesoftware.smack.SmackException.NoResponseException, org.jivesoftware.smack.XMPPException.XMPPErrorException, org.jivesoftware.smack.SmackException.NotConnectedException, java.lang.InterruptedException, org.jivesoftware.smack.SmackException.FeatureNotSupportedException
- Throws:
org.jivesoftware.smack.SmackException.NoResponseException
org.jivesoftware.smack.XMPPException.XMPPErrorException
org.jivesoftware.smack.SmackException.NotConnectedException
java.lang.InterruptedException
org.jivesoftware.smack.SmackException.FeatureNotSupportedException
-
-