/** Shutdown all registerd convergence layers. */ public static void shutdown_clayers() { Iterator<ConvergenceLayer> iter = CLVector.getInstance().iterator(); while (iter.hasNext()) { iter.next().shutdown(); } }
/** Find the appropriate convergence layer for the given string. */ public static ConvergenceLayer find_clayer(String proto) { Iterator<ConvergenceLayer> iter = CLVector.getInstance().iterator(); while (iter.hasNext()) { ConvergenceLayer element = iter.next(); if (proto.compareTo(element.name()) == 0) { return element; } } return null; }
public static void add_clayer(ConvergenceLayer cl) { CLVector.getInstance().add(cl); }