Package org.cipango.callflow

Examples of org.cipango.callflow.CallflowNotificationFilter


  }
 
  public static CallflowNotificationFilter getCallflowNotificationFilter(HttpServletRequest request)
  {
    String msgFilter = request.getParameter(Parameters.SIP_MESSAGE_FILTER);
    CallflowNotificationFilter filter = (CallflowNotificationFilter) request.getSession().getAttribute(Parameters.SIP_MESSAGE_FILTER);

    if (filter == null)
    {
      filter = new CallflowNotificationFilter(msgFilter);
      request.getSession().setAttribute(Parameters.SIP_MESSAGE_FILTER, filter);
    }
    else if (msgFilter != null)
      filter.setFilter(msgFilter.trim());
    return filter;
  }
View Full Code Here


    public void onOpen(Connection connection)
    {
      _connection = connection;
      try
      {
        CallflowNotificationFilter filter =  (CallflowNotificationFilter) _session.getAttribute(Parameters.SIP_MESSAGE_FILTER);
        if (filter == null)
        {
          filter = new CallflowNotificationFilter(null);
          _session.setAttribute(Parameters.SIP_MESSAGE_FILTER, filter);
        }
       
        _consoleFilter.getMbsc().addNotificationListener(ConsoleFilter.SIP_CONSOLE_MSG_LOG, this,
            filter, null);
View Full Code Here

TOP

Related Classes of org.cipango.callflow.CallflowNotificationFilter

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.