Package org.cipango.server.session.scope

Examples of org.cipango.server.session.scope.ScopedAppSession


  }
 
  public SipApplicationSession getApplicationSession()
  {
    if (_appSession instanceof AppSession)
      return new ScopedAppSession((AppSession) _appSession);
    if (_session != null)
      return _session.getApplicationSession();
    return _appSession;
  }
View Full Code Here


  }
 
  public SipApplicationSession getApplicationSession()
  {
    if (_appSession instanceof AppSession)
      return new ScopedAppSession((AppSession) _appSession);
    return _appSession;
  }
View Full Code Here

         
          SessionScope scope = server.getSessionManager().openScope(ID.newCallId());
          try
          {
            AppSession session = scope.getCallSession().createAppSession(SipAppContext.this, ID.newAppSessionId());
            return new ScopedAppSession(session);
          }
          finally
          {
            scope.close();
          }
View Full Code Here

     
      AppSession appSession = callSession.getAppSession(applicationSessionId.substring(i+1));
      if (appSession == null)
        return null;
      else
        return new ScopedAppSession(appSession);
    }
View Full Code Here

          if (create)
            appSession = tx.getCallSession().createAppSession(SipAppContext.this, id);
          else
            return null;
        }
        return new ScopedAppSession(appSession);
      }
      finally
      {
        tx.close();
      }     
View Full Code Here

  /**
   * @see SipSession#getApplicationSession()
   */
  public SipApplicationSession getApplicationSession()
  {
    return new ScopedAppSession(_appSession);
  }
View Full Code Here

TOP

Related Classes of org.cipango.server.session.scope.ScopedAppSession

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.