All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.frameworkset.web.socket.sockjs.SockJsSession Maven / Gradle / Ivy

Go to download

bboss is a j2ee framework include aop/ioc,mvc,persistent,taglib,rpc,event ,bean-xml serializable and so on.http://www.bbossgroups.com

The newest version!
package org.frameworkset.web.socket.sockjs;

import org.frameworkset.web.socket.inf.WebSocketSession;

public interface SockJsSession  extends WebSocketSession {

	/**
	 * Return the time (in ms) since the session was last active, or otherwise
	 * if the session is new, then the time since the session was created.
	 */
	long getTimeSinceLastActive();

	/**
	 * Disable the SockJS heartbeat, presumably because a higher-level protocol
	 * has heartbeats enabled for the session already. It is not recommended to
	 * disable this otherwise, as it helps proxies to know the connection is
	 * not hanging.
	 */
	void disableHeartbeat();
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy