Package org.jivesoftware.smack
Class Manager
java.lang.Object
org.jivesoftware.smack.Manager
- Direct Known Subclasses:
AccountManager
,AdHocCommandManager
,BlockingCommandManager
,BoBManager
,CarbonManager
,Chat
,ChatManager
,ChatManager
,ChatMarkersManager
,ChatStateManager
,DeliveryReceiptManager
,DirectMucInvitationManager
,DnsOverXmppManager
,EntityCapsManager
,EntityTimeManager
,FallbackIndicationManager
,FileTransferManager
,FileTransferNegotiator
,GeoLocationManager
,HashManager
,HttpFileUploadManager
,InBandBytestreamManager
,IoTDiscoveryManager
,IoTManager
,IoTProvisioningManager
,JidPrepManager
,JingleFileTransferManager
,JingleManager
,JingleTransportMethodManager
,LastActivityManager
,MamManager
,MessageEventManager
,MessageFasteningManager
,MessageRetractionManager
,MoodManager
,MucBookmarkAutojoinManager
,MultiUserChatLightManager
,MultiUserChatManager
,OfflineMessageManager
,OmemoManager
,OpenPgpManager
,OXInstantMessagingManager
,PepManager
,PingManager
,PrivacyListManager
,PrivateDataManager
,PubSubManager
,PushNotificationsManager
,ReferenceManager
,Roster
,RosterEntry
,RosterGroup
,ServerPingWithAlarmManager
,ServiceAdministrationManager
,ServiceDiscoveryManager
,Socks5BytestreamManager
,SoftwareInfoManager
,SpoilerManager
,StableUniqueStanzaIdManager
,StreamNegotiator
,UserTuneManager
,VCardManager
,VersionManager
,XDataManager
Managers provide the high-level API of certain functionality (often standardized by XMPP Extension Protocols).
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected final XMPPConnection
protected final XMPPConnection
Get the XMPPConnection of this Manager if it's authenticated, i.e.protected static final ScheduledAction
protected static final ScheduledAction
schedule
(Runnable runnable, long delay, TimeUnit unit, org.jivesoftware.smack.ScheduledAction.Kind scheduledActionKind) protected static final ScheduledAction
scheduleBlocking
(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)
-