Errai 3.0.1-SNAPSHOT

org.jboss.errai.bus.server.api
Interface SessionControl


public interface SessionControl

This interface, SessionControl, provides functions for checking up on a session


Method Summary
 void activity()
          This function indicates activity on the session, so the session knows when the last time there was activity.
 boolean isSessionValid()
          Returns true if the current session is still valid
 

Method Detail

isSessionValid

boolean isSessionValid()
Returns true if the current session is still valid

Returns:
true if session is valid, false otherwise

activity

void activity()
This function indicates activity on the session, so the session knows when the last time there was activity. For example, MessageQueue relies on this function to figure out whether or not to timeout


Errai 3.0.1-SNAPSHOT

Copyright © 2013-2014 JBoss, a division of Red Hat. All Rights Reserved.