Uses of Interface
org.jivesoftware.openfire.session.ClientSession
-
Packages that use ClientSession Package Description org.jivesoftware.openfire org.jivesoftware.openfire.http Provides classes for XEP-0124: Bidirectional-streams Over Synchronous HTTP (BOSH).org.jivesoftware.openfire.net org.jivesoftware.openfire.pep Implementation of Personal Eventing via Pubsub (XEP-0163).org.jivesoftware.openfire.session org.jivesoftware.openfire.spi org.jivesoftware.openfire.user Provides the interfaces and classes necessary to create custom user account data providers for Openfire.org.jivesoftware.util.cache -
-
Uses of ClientSession in org.jivesoftware.openfire
Methods in org.jivesoftware.openfire that return ClientSession Modifier and Type Method Description ClientSession
RoutingTable. getClientRoute(org.xmpp.packet.JID jid)
Returns the client session associated to the specified XMPP address ornull
if none was found.ClientSession
SessionManager. getSession(org.xmpp.packet.JID from)
Returns the session responsible for this JID data.Methods in org.jivesoftware.openfire that return types with arguments of type ClientSession Modifier and Type Method Description Collection<ClientSession>
RoutingTable. getClientsRoutes(boolean onlyLocal)
Returns collection of client sessions authenticated with the server.Collection<ClientSession>
SessionManager. getSessions()
Returns a list that contains all authenticated client sessions connected to the server.Collection<ClientSession>
SessionManager. getSessions(String username)
Collection<ClientSession>
SessionManager. getSessions(SessionResultFilter filter)
Comparator<ClientSession>
SessionResultFilter. getSortComparator()
Returns a comparator that will sort a standard sorted set according to this filter's sort order.Methods in org.jivesoftware.openfire with parameters of type ClientSession Modifier and Type Method Description static boolean
SessionPacketRouter. isInvalidStanzaSentPriorToResourceBinding(org.xmpp.packet.Packet stanza, ClientSession session)
Determines if a peer that is sending a stanza in violation of RFC 6120, section 7.1: If, before completing the resource binding step, the client attempts to send an XML stanza to an entity other than the server itself or the client's account, the server MUST NOT process the stanza and MUST close the stream with a <not-authorized/> stream error. When this method returns 'true', the stream should be closed.boolean
SessionManager. removeSession(ClientSession session, org.xmpp.packet.JID fullJID, boolean anonymous, boolean forceUnavailable)
Removes a session. -
Uses of ClientSession in org.jivesoftware.openfire.http
Classes in org.jivesoftware.openfire.http that implement ClientSession Modifier and Type Class Description class
HttpSession
A session represents a series of interactions with an XMPP client sending packets using the HTTP Binding protocol specified in XEP-0124. -
Uses of ClientSession in org.jivesoftware.openfire.net
Methods in org.jivesoftware.openfire.net with parameters of type ClientSession Modifier and Type Method Description static org.dom4j.Element
SASLAuthentication. getSASLMechanismsElement(ClientSession session)
-
Uses of ClientSession in org.jivesoftware.openfire.pep
Methods in org.jivesoftware.openfire.pep with parameters of type ClientSession Modifier and Type Method Description void
IQPEPHandler. availableSession(ClientSession session, org.xmpp.packet.Presence presence)
void
IQPEPHandler. presenceChanged(ClientSession session, org.xmpp.packet.Presence presence)
void
IQPEPHandler. unavailableSession(ClientSession session, org.xmpp.packet.Presence presence)
The following functions are unimplemented required interface methods. -
Uses of ClientSession in org.jivesoftware.openfire.session
Classes in org.jivesoftware.openfire.session that implement ClientSession Modifier and Type Class Description class
LocalClientSession
Represents a session between the server and a client.class
RemoteClientSession
Surrogate for client sessions hosted in some remote cluster node.Methods in org.jivesoftware.openfire.session that return ClientSession Modifier and Type Method Description ClientSession
RemoteSessionLocator. getClientSession(byte[] nodeID, org.xmpp.packet.JID address)
Returns a session surrogate of a client session hosted by a remote cluster node.ClientSession
RemoteSessionLocatorImpl. getClientSession(byte[] nodeID, org.xmpp.packet.JID address)
-
Uses of ClientSession in org.jivesoftware.openfire.spi
Methods in org.jivesoftware.openfire.spi that return ClientSession Modifier and Type Method Description ClientSession
RoutingTableImpl. getClientRoute(org.xmpp.packet.JID jid)
Methods in org.jivesoftware.openfire.spi that return types with arguments of type ClientSession Modifier and Type Method Description Collection<ClientSession>
RoutingTableImpl. getClientsRoutes(boolean onlyLocal)
-
Uses of ClientSession in org.jivesoftware.openfire.user
Methods in org.jivesoftware.openfire.user with parameters of type ClientSession Modifier and Type Method Description static void
PresenceEventDispatcher. availableSession(ClientSession session, org.xmpp.packet.Presence presence)
Notification message indicating that a session that was not available is now available.void
PresenceEventListener. availableSession(ClientSession session, org.xmpp.packet.Presence presence)
Notification message indicating that a session that was not available is now available.static void
PresenceEventDispatcher. presenceChanged(ClientSession session, org.xmpp.packet.Presence presence)
Notification message indicating that an available session has changed its presence.void
PresenceEventListener. presenceChanged(ClientSession session, org.xmpp.packet.Presence presence)
Notification message indicating that an available session has changed its presence.static void
PresenceEventDispatcher. unavailableSession(ClientSession session, org.xmpp.packet.Presence presence)
Notification message indicating that a session that was available is no longer available.void
PresenceEventListener. unavailableSession(ClientSession session, org.xmpp.packet.Presence presence)
Notification message indicating that a session that was available is no longer available. -
Uses of ClientSession in org.jivesoftware.util.cache
Method parameters in org.jivesoftware.util.cache with type arguments of type ClientSession Modifier and Type Method Description static com.google.common.collect.Multimap<String,String>
ConsistencyChecks. generateReportForSessionManagerSessionInfos(Cache<String,ClientSessionInfo> sessionInfoCache, Collection<ClientSession> localSessions, Map<NodeID,Set<String>> sessionInfoKeysByClusterNode)
Verifies that #sessionInfoCache, #localSessionInfos and #sessionInfoKeysByClusterNode ofSessionManager
are in a consistent state.
-