Package rocks.xmpp.core.session
Class Manager
- java.lang.Object
-
- rocks.xmpp.core.session.Manager
-
- Direct Known Subclasses:
BookmarkManager
,ByteStreamManager
,ChatManager
,ChatStateManager
,FileTransferManager
,GeoLocationManager
,InvisibilityManager
,JingleFileTransferManager
,JingleManager
,LanguageTranslationManager
,LastActivityManager
,MessageCarbonsManager
,MessageDeliveryReceiptsManager
,MoodManager
,OutOfBandFileTransferManager
,PingManager
,PresenceManager
,PrivateDataManager
,PubSubManager
,RegistrationManager
,StanzaForwardingManager
,StreamFeaturesManager
,VCardManager
public class Manager extends Object
A generic manager class, which allows to enable or disable certain functionality.
-
-
Constructor Summary
Constructors Constructor Description Manager(XmppSession xmppSession)
Manager(XmppSession xmppSession, boolean disposable)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
isEnabled()
Indicates, whether this manager is enabled or not.void
setEnabled(boolean enabled)
Enables or disables this manager.
-
-
-
Constructor Detail
-
Manager
public Manager(XmppSession xmppSession)
-
Manager
public Manager(XmppSession xmppSession, boolean disposable)
-
-
Method Detail
-
isEnabled
public final boolean isEnabled()
Indicates, whether this manager is enabled or not.- Returns:
- True, if this manager is enabled.
- See Also:
setEnabled(boolean)
-
setEnabled
public final void setEnabled(boolean enabled)
Enables or disables this manager.- Parameters:
enabled
- If the manager gets enabled.- See Also:
isEnabled()
-
-