Package org.cipango.server.session

Examples of org.cipango.server.session.AppSessionIf


    }
  }
   
  public SessionScope openScope(SipApplicationSession session)
  {
    AppSessionIf appSession = (AppSessionIf) session;
    if (appSession != null && appSession.getAppSession().getCallSession() != null)
    {
      CallSession callSession = appSession.getAppSession().getCallSession();
      return _node.getServer().getSessionManager().openScope(callSession);
    }
    return null;
  }
View Full Code Here


    if (message instanceof DiameterAnswer)
      context = ((DiameterAnswer) message).getRequest().getContext();
   
    if (context == null)
    {
      AppSessionIf appSession = (AppSessionIf) message.getApplicationSession();
      if (appSession != null)
        context = appSession.getAppSession().getContext();
    }
   
    if (context == null)
      context = _defaultContext;
   
View Full Code Here

 
  public void fireNoAnswerReceived(DiameterRequest request, long timeout)
  {
    DiameterErrorListener[] listeners = null;
    SipAppContext context = null;
    AppSessionIf appSession = (AppSessionIf) request.getApplicationSession();
    if (appSession != null)
      context = appSession.getAppSession().getContext();
   
    if (context != null)
    {
      DiameterAppContext ctx = _diameterListeners.get(context.getContextPath());
      if (ctx != null)
View Full Code Here

            }
     
      if (appId != null && !appId.trim().equals(""))
      {
        appId = appId.replace("%3B", ";");
        AppSessionIf appSession = (AppSessionIf) getSipAppContext().getSipSessionsUtil().getApplicationSessionById(appId);
        if (appSession != null && appSession.isValid())
        {
          if (isValid() && _appSession == null)
            appSession.getAppSession().addSession(this);
          _appSession = appSession;
        }
      }
    }
View Full Code Here

TOP

Related Classes of org.cipango.server.session.AppSessionIf

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.