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
public abstract class Manager extends Object
Managers provide the high-level API of certain functionality (often standardized by XMPP Extension Protocols).
-
-
Constructor Summary
Constructors Constructor Description Manager(XMPPConnection connection)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description protected XMPPConnection
connection()
protected XMPPConnection
getAuthenticatedConnectionOrThrow()
Get the XMPPConnection of this Manager if it's authenticated, i.e.protected static ScheduledAction
schedule(Runnable runnable, long delay, TimeUnit unit)
protected static ScheduledAction
schedule(Runnable runnable, long delay, TimeUnit unit, org.jivesoftware.smack.ScheduledAction.Kind scheduledActionKind)
protected static ScheduledAction
scheduleBlocking(Runnable runnable, long delay, TimeUnit unit)
-
-
-
Constructor Detail
-
Manager
public Manager(XMPPConnection connection)
-
-
Method Detail
-
connection
protected final XMPPConnection connection()
-
getAuthenticatedConnectionOrThrow
protected final XMPPConnection getAuthenticatedConnectionOrThrow() throws SmackException.NotLoggedInException
Get 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
protected static final ScheduledAction schedule(Runnable runnable, long delay, TimeUnit unit)
-
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)
-
-