Uses of Interface
org.simpleframework.http.socket.Session
Packages that use Session
-
Uses of Session in org.simpleframework.http.socket
Methods in org.simpleframework.http.socket with parameters of type SessionModifier and TypeMethodDescriptionvoid
This is called when the connection is closed from the other side.void
This is called when an error occurs on the WebSocket.void
This is called when a new frame arrives on the WebSocket. -
Uses of Session in org.simpleframework.http.socket.service
Classes in org.simpleframework.http.socket.service that implement SessionModifier and TypeClassDescription(package private) class
TheServiceSession
represents a simple WebSocket session that contains the connection handshake details and the actual socket.Fields in org.simpleframework.http.socket.service declared as SessionModifier and TypeFieldDescriptionprivate final Session
FrameConnection.session
This is the session object that has a synchronized channel.private final Session
FrameProcessor.session
This is the session associated with the WebSocket connection.Methods in org.simpleframework.http.socket.service that return SessionModifier and TypeMethodDescriptionThis is used to create a WebSocket session.FrameConnection.open()
This is used to open the channel and begin consuming frames.Methods in org.simpleframework.http.socket.service with parameters of type SessionModifier and TypeMethodDescriptionvoid
This method connects a new session with a service implementation.void
This is called when the connection is closed from the other side.void
This is called when there is an error with the connection.void
This is called when a new frame arrives on the WebSocket.Constructors in org.simpleframework.http.socket.service with parameters of type SessionModifierConstructorDescriptionFrameCollector
(FrameEncoder encoder, Session session, Request request, Reactor reactor) Constructor for theFrameCollector
object.FrameProcessor
(FrameEncoder encoder, Session session, Request request) Constructor for theFrameProcessor
object.