Uses of Interface
org.jivesoftware.openfire.session.Session
-
Packages that use Session Package Description org.jivesoftware.openfire.audit Service that records XMPP traffics.org.jivesoftware.openfire.audit.spi org.jivesoftware.openfire.event Event system.org.jivesoftware.openfire.http Provides classes for XEP-0124: Bidirectional-streams Over Synchronous HTTP (BOSH).org.jivesoftware.openfire.interceptor Provides classes for intercepting packets.org.jivesoftware.openfire.multiplex Connection Manager implementation.org.jivesoftware.openfire.session -
-
Uses of Session in org.jivesoftware.openfire.audit
Methods in org.jivesoftware.openfire.audit that return Session Modifier and Type Method Description Session
AuditEvent. getSession()
Obtain the session associated with the event.Methods in org.jivesoftware.openfire.audit with parameters of type Session Modifier and Type Method Description void
Auditor. audit(org.xmpp.packet.Packet packet, Session session)
Audit an XMPP packet.static SessionEvent
SessionEvent. createAuthFailureEvent(Session session, String user, String resource)
Create an event associated with the failure of a session to authenticate.static SessionEvent
SessionEvent. createAuthSuccessEvent(Session session)
Create an event associated with a successful authentication.static SessionEvent
SessionEvent. createConnectEvent(Session session)
Create an event associated with the initial connection of a session before the stream is created.static SessionEvent
SessionEvent. createDisconnectEvent(Session session)
Create an event associated with the closing of a session.static SessionEvent
SessionEvent. createStreamEvent(Session session)
Create an event associated with the establishment of an XMPP session.void
AuditEvent. setSession(Session session)
Set the session associated with the event.Constructors in org.jivesoftware.openfire.audit with parameters of type Session Constructor Description AuditEvent(Session eventSession, Date timestamp, int eventCode, int eventReason, String eventData)
Create a new audit event. -
Uses of Session in org.jivesoftware.openfire.audit.spi
Methods in org.jivesoftware.openfire.audit.spi with parameters of type Session Modifier and Type Method Description void
AuditorImpl. audit(org.xmpp.packet.Packet packet, Session session)
-
Uses of Session in org.jivesoftware.openfire.event
Methods in org.jivesoftware.openfire.event with parameters of type Session Modifier and Type Method Description void
SessionEventListener. anonymousSessionCreated(Session session)
Notification event indicating that an anonymous user has authenticated with the server.void
SessionEventListener. anonymousSessionDestroyed(Session session)
An authenticated session of an anonymous user was destroyed.static void
ServerSessionEventDispatcher. dispatchEvent(Session session, ServerSessionEventDispatcher.EventType eventType)
Dispatches an event to all listeners.static void
SessionEventDispatcher. dispatchEvent(Session session, SessionEventDispatcher.EventType eventType)
Dispatches an event to all listeners.void
SessionEventListener. resourceBound(Session session)
A session has finished resource binding.void
ServerSessionEventListener. sessionCreated(Session session)
Notification event indicating that a server has connected with the server.void
SessionEventListener. sessionCreated(Session session)
Notification event indicating that a user has authenticated with the server.void
ServerSessionEventListener. sessionDestroyed(Session session)
A connected session of a server was destroyed.void
SessionEventListener. sessionDestroyed(Session session)
An authenticated session of a non anonymous user was destroyed. -
Uses of Session in org.jivesoftware.openfire.http
Classes in org.jivesoftware.openfire.http that implement Session 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 Session in org.jivesoftware.openfire.interceptor
Methods in org.jivesoftware.openfire.interceptor with parameters of type Session Modifier and Type Method Description void
PacketCopier. interceptPacket(org.xmpp.packet.Packet packet, Session session, boolean incoming, boolean processed)
void
PacketInterceptor. interceptPacket(org.xmpp.packet.Packet packet, Session session, boolean incoming, boolean processed)
Invokes the interceptor on the specified packet.protected static void
InterceptorManager. invokeInterceptors(Collection<PacketInterceptor> interceptors, org.xmpp.packet.Packet packet, Session session, boolean read, boolean processed)
Invokes a collection of interceptors for the provided packet.void
InterceptorManager. invokeInterceptors(org.xmpp.packet.Packet packet, Session session, boolean read, boolean processed)
Invokes all currently-installed interceptors on the specified packet. -
Uses of Session in org.jivesoftware.openfire.multiplex
Methods in org.jivesoftware.openfire.multiplex with parameters of type Session Modifier and Type Method Description void
ConnectionMultiplexerManager. anonymousSessionCreated(Session session)
void
ConnectionMultiplexerManager. anonymousSessionDestroyed(Session session)
void
ConnectionMultiplexerManager. resourceBound(Session session)
void
ConnectionMultiplexerManager. sessionCreated(Session session)
void
ConnectionMultiplexerManager. sessionDestroyed(Session session)
-
Uses of Session in org.jivesoftware.openfire.session
Subinterfaces of Session in org.jivesoftware.openfire.session Modifier and Type Interface Description interface
ClientSession
Represents a session between the server and a client.interface
ComponentSession
Represents a session between the server and an external component.interface
ConnectionMultiplexerSession
Represents a session between the server and a connection manager.interface
IncomingServerSession
Server-to-server communication is done using two TCP connections between the servers.interface
OutgoingServerSession
Server-to-server communication is done using two TCP connections between the servers.interface
ServerSession
Classes in org.jivesoftware.openfire.session that implement Session Modifier and Type Class Description class
LocalClientSession
Represents a session between the server and a client.class
LocalComponentSession
Represents a session between the server and a component.class
LocalConnectionMultiplexerSession
Represents a session between the server and a connection manager.class
LocalIncomingServerSession
Server-to-server communication is done using two TCP connections between the servers.class
LocalOutgoingServerSession
Server-to-server communication is done using two TCP connections between the servers.class
LocalServerSession
class
LocalSession
The session represents a connection between the server and a client (c2s) or another server (s2s) as well as a connection with a component.class
RemoteClientSession
Surrogate for client sessions hosted in some remote cluster node.class
RemoteComponentSession
Surrogate for sessions of external components hosted in some remote cluster node.class
RemoteConnectionMultiplexerSession
Surrogate for connection manager sessions hosted in some remote cluster node.class
RemoteIncomingServerSession
Surrogate for incoming server sessions hosted in some remote cluster node.class
RemoteOutgoingServerSession
Surrogate for outgoing server sessions hosted in some remote cluster node.class
RemoteSession
Base class for sessions being hosted in other cluster nodes.Methods in org.jivesoftware.openfire.session with parameters of type Session Modifier and Type Method Description void
SoftwareVersionManager. anonymousSessionCreated(Session session)
void
SoftwareVersionManager. anonymousSessionDestroyed(Session session)
void
SoftwareVersionManager. resourceBound(Session session)
void
SoftwareServerVersionManager. sessionCreated(Session session)
void
SoftwareVersionManager. sessionCreated(Session session)
void
SoftwareServerVersionManager. sessionDestroyed(Session session)
void
SoftwareVersionManager. sessionDestroyed(Session session)
-