Uses of Interface
org.simpleframework.http.socket.Session
-
Packages that use Session Package Description org.simpleframework.http.socket org.simpleframework.http.socket.service -
-
Uses of Session in org.simpleframework.http.socket
Methods in org.simpleframework.http.socket with parameters of type Session Modifier and Type Method Description voidFrameListener. onClose(Session session, Reason reason)This is called when the connection is closed from the other side.voidFrameListener. onError(Session session, java.lang.Exception cause)This is called when an error occurs on the WebSocket.voidFrameListener. onFrame(Session session, Frame frame)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 Session Modifier and Type Class Description (package private) classServiceSessionTheServiceSessionrepresents a simple WebSocket session that contains the connection handshake details and the actual socket.Fields in org.simpleframework.http.socket.service declared as Session Modifier and Type Field Description private SessionFrameConnection. sessionThis is the session object that has a synchronized channel.private SessionFrameProcessor. sessionThis is the session associated with the WebSocket connection.Methods in org.simpleframework.http.socket.service that return Session Modifier and Type Method Description SessionSessionBuilder. create(Request request, Response response)This is used to create a WebSocket session.SessionFrameConnection. open()This is used to open the channel and begin consuming frames.Methods in org.simpleframework.http.socket.service with parameters of type Session Modifier and Type Method Description voidService. connect(Session session)This method connects a new session with a service implementation.voidStatusResultListener. onClose(Session session, Reason reason)This is called when the connection is closed from the other side.voidStatusResultListener. onError(Session session, java.lang.Exception cause)This is called when there is an error with the connection.voidStatusResultListener. onFrame(Session session, Frame frame)This is called when a new frame arrives on the WebSocket.Constructors in org.simpleframework.http.socket.service with parameters of type Session Constructor Description FrameCollector(FrameEncoder encoder, Session session, Request request, Reactor reactor)Constructor for theFrameCollectorobject.FrameProcessor(FrameEncoder encoder, Session session, Request request)Constructor for theFrameProcessorobject.
-