Class ClientSessionInfo
java.lang.Object
org.jivesoftware.openfire.session.ClientSessionInfo
- All Implemented Interfaces:
Externalizable
,Serializable
Client session information to be used when running in a cluster. The session
information is shared between cluster nodes and is meant to be used by remote
sessions to avoid invocation remote calls and instead use cached information.
This optimization should give an important boost to the application specifically
while users are logging in.
Session information is stored after a user authenticated and bound a resource.
- Author:
- Gaston Dombiak
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.xmpp.packet.Presence
boolean
boolean
boolean
boolean
void
void
-
Constructor Details
-
ClientSessionInfo
public ClientSessionInfo() -
ClientSessionInfo
-
-
Method Details
-
getPresence
public org.xmpp.packet.Presence getPresence() -
getDefaultList
-
getActiveList
-
isOfflineFloodStopped
public boolean isOfflineFloodStopped() -
hasRequestedBlocklist
public boolean hasRequestedBlocklist() -
isMessageCarbonsEnabled
public boolean isMessageCarbonsEnabled() -
getNodeID
-
isAnonymous
public boolean isAnonymous() -
writeExternal
- Specified by:
writeExternal
in interfaceExternalizable
- Throws:
IOException
-
readExternal
- Specified by:
readExternal
in interfaceExternalizable
- Throws:
IOException
ClassNotFoundException
-