Package org.jivesoftware.smack
Class Manager
java.lang.Object
org.jivesoftware.smack.Manager
Managers provide the high-level API of certain functionality (often standardized by XMPP Extension Protocols).
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected final XMPPConnectionprotected final XMPPConnectionGet the XMPPConnection of this Manager if it's authenticated, i.e.protected static final ScheduledActionprotected static final ScheduledActionschedule(Runnable runnable, long delay, TimeUnit unit, org.jivesoftware.smack.ScheduledAction.Kind scheduledActionKind) protected static final ScheduledActionscheduleBlocking(Runnable runnable, long delay, TimeUnit unit)
-
Constructor Details
-
Manager
-
-
Method Details
-
connection
-
getAuthenticatedConnectionOrThrow
protected final XMPPConnection getAuthenticatedConnectionOrThrow() throws SmackException.NotLoggedInExceptionGet the XMPPConnection of this Manager if it's authenticated, i.e. logged in. Otherwise throw aSmackException.NotLoggedInException.- Returns:
- the XMPPConnection of this Manager.
- Throws:
SmackException.NotLoggedInException- if the connection is not authenticated.
-
schedule
-
scheduleBlocking
protected static final ScheduledAction scheduleBlocking(Runnable runnable, long delay, TimeUnit unit) -
schedule
protected static final ScheduledAction schedule(Runnable runnable, long delay, TimeUnit unit, org.jivesoftware.smack.ScheduledAction.Kind scheduledActionKind)
-