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 voiddisable()voidenable()static EntityTimeManagergetInstanceFor(org.jivesoftware.smack.XMPPConnection connection)TimegetTime(org.jxmpp.jid.Jid jid)booleanisTimeSupported(org.jxmpp.jid.Jid jid)static voidsetAutoEnable(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.NoResponseExceptionorg.jivesoftware.smack.XMPPException.XMPPErrorExceptionorg.jivesoftware.smack.SmackException.NotConnectedExceptionjava.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
- Throws:
org.jivesoftware.smack.SmackException.NoResponseExceptionorg.jivesoftware.smack.XMPPException.XMPPErrorExceptionorg.jivesoftware.smack.SmackException.NotConnectedExceptionjava.lang.InterruptedException
-
-