Package com.reignite.messaging.amf

Examples of com.reignite.messaging.amf.AMFFilter


   *            the new filter chain.
   */
  public void setFilterChain(List<AMFFilter> chain) {
    if (chain != null & chain.size() > 0) {
      filterChain = chain.remove(0);
      AMFFilter previous = filterChain;
      for (AMFFilter filter : chain) {
        previous.setNext(filter);
        previous = filter;
      }
    }
  }
View Full Code Here


   */
  public void setSecondLastFilter(AMFFilter secondLast) {
    if (filterChain == null) {
      filterChain = secondLast;
    } else {
      AMFFilter last = walkToEndOfChain(filterChain);
      if (last == filterChain) {
        secondLast.setNext(filterChain);
        filterChain = secondLast;
      } else {
        AMFFilter parent = walkToParentFilter(filterChain, last);
        secondLast.setNext(last);
        parent.setNext(secondLast);
      }
    }
  }
View Full Code Here

TOP

Related Classes of com.reignite.messaging.amf.AMFFilter

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.