Package org.cipango.server.session.SessionManager

Examples of org.cipango.server.session.SessionManager.SessionScope


    }
  }

  public void setInvalidateWhenReady(boolean invalidateWhenReady)
  {
    SessionScope scope = openScope();
    try
    {
      _appSession.setInvalidateWhenReady(invalidateWhenReady);
    }
    finally
    {
      scope.close();
    }
  }
View Full Code Here


  private AppSession _appSession;
 
  public ScopedTimer(AppSession session, long delay, boolean isPersistent, Serializable info)
  {
    _appSession = session;
    SessionScope scope = openScope();
    try
    {
      _timer = _appSession.newTimer(delay, isPersistent, info);
    }
    finally
    {
      scope.close();
    }
  }
View Full Code Here

  }
 
  public ScopedTimer(AppSession session, long delay, long period, boolean fixedDelay, boolean isPersistent, Serializable info)
  {
    _appSession = session;
    SessionScope scope = openScope();
    try
    {
      _timer = _appSession.newTimer(delay, period, fixedDelay, isPersistent, info);
    }
    finally
    {
      scope.close();
    }
  }
View Full Code Here

    return _appSession.getCallSession();
  }
 
  public void cancel()
  {
    SessionScope scope = openScope();
    try
    {
      _timer.cancel();
    }
    finally
    {
      scope.close();
    }
  }
View Full Code Here

    return _session.getSubscriberURI();
  }

  public void invalidate()
  {
    SessionScope scope = openScope();
    try
    {
      _session.invalidate();
    }
    finally
    {
      scope.close();
    }
  }
View Full Code Here

TOP

Related Classes of org.cipango.server.session.SessionManager.SessionScope

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.