Class ClientSessionInfo
- java.lang.Object
-
- org.jivesoftware.openfire.session.ClientSessionInfo
-
- All Implemented Interfaces:
Externalizable
,Serializable
public class ClientSessionInfo extends Object implements Externalizable
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:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ClientSessionInfo()
ClientSessionInfo(LocalClientSession session)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getActiveList()
String
getDefaultList()
org.xmpp.packet.Presence
getPresence()
boolean
hasRequestedBlocklist()
boolean
isMessageCarbonsEnabled()
boolean
isOfflineFloodStopped()
void
readExternal(ObjectInput in)
void
writeExternal(ObjectOutput out)
-
-
-
Constructor Detail
-
ClientSessionInfo
public ClientSessionInfo()
-
ClientSessionInfo
public ClientSessionInfo(LocalClientSession session)
-
-
Method Detail
-
getPresence
public org.xmpp.packet.Presence getPresence()
-
getDefaultList
public String getDefaultList()
-
getActiveList
public String getActiveList()
-
isOfflineFloodStopped
public boolean isOfflineFloodStopped()
-
hasRequestedBlocklist
public boolean hasRequestedBlocklist()
-
isMessageCarbonsEnabled
public boolean isMessageCarbonsEnabled()
-
writeExternal
public void writeExternal(ObjectOutput out) throws IOException
- Specified by:
writeExternal
in interfaceExternalizable
- Throws:
IOException
-
readExternal
public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
- Specified by:
readExternal
in interfaceExternalizable
- Throws:
IOException
ClassNotFoundException
-
-