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