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
Modifier and TypeMethodDescriptionvoiddisable()voidenable()static EntityTimeManagergetInstanceFor(org.jivesoftware.smack.XMPPConnection connection) getTime(org.jxmpp.jid.Jid jid) booleanisTimeSupported(org.jxmpp.jid.Jid jid) static voidsetAutoEnable(boolean autoEnable) Methods inherited from class org.jivesoftware.smack.Manager
connection, getAuthenticatedConnectionOrThrow, schedule, schedule, scheduleBlocking
-
Method Details
-
setAutoEnable
public static void setAutoEnable(boolean autoEnable) -
getInstanceFor
-
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, InterruptedException - Throws:
org.jivesoftware.smack.SmackException.NoResponseExceptionorg.jivesoftware.smack.XMPPException.XMPPErrorExceptionorg.jivesoftware.smack.SmackException.NotConnectedExceptionInterruptedException
-
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, InterruptedException, org.jivesoftware.smack.SmackException.FeatureNotSupportedException - Throws:
org.jivesoftware.smack.SmackException.NoResponseExceptionorg.jivesoftware.smack.XMPPException.XMPPErrorExceptionorg.jivesoftware.smack.SmackException.NotConnectedExceptionInterruptedExceptionorg.jivesoftware.smack.SmackException.FeatureNotSupportedException
-