| java.lang.Object org.cougaar.qos.qrs.ResourceContext org.cougaar.qos.qrs.IpFlowDS
IpFlowDS | public class IpFlowDS extends ResourceContext (Code) | | A sample ResourceContext which looks for ip-flow capacity data on any feed,
by using a Remos-style key with an IntegraterDS. The available formulas are
'CapacityMax' and 'CapacityUnused'.
|
Inner Class :public static class CapacityMax extends Formula | |
Inner Class :public static class CapacityUnused extends Formula | |
register | static void register()(Code) | | |
verifyParameters | protected void verifyParameters(String[] parameters) throws ParameterError(Code) | | The parameters should contain two strings, the source and destination ip
of the flow.
|
Methods inherited from org.cougaar.qos.qrs.ResourceContext | protected void addChild(Object id, ResourceContext child)(Code)(Java Doc) public void bindSymbolValue(String symbol, Object value)(Code)(Java Doc) protected void delete()(Code)(Java Doc) public List<String> getContextClasses()(Code)(Java Doc) protected String getContextKind()(Code)(Java Doc) public List<ResourceContext> getContextsForClass(String c)(Code)(Java Doc) public DataFormula getFormula(String kind, String[] args)(Code)(Java Doc) public List<String> getFormulaKinds()(Code)(Java Doc) public List<DataFormula> getFormulasForKind(String kind)(Code)(Java Doc) protected Object getID()(Code)(Java Doc) Object getIdentifier(String kind, String[] parameters)(Code)(Java Doc) public String[] getParameters()(Code)(Java Doc) public ResourceContext getParent()(Code)(Java Doc) protected List<ResourceNode> getPath()(Code)(Java Doc) public ResourceContext getPathContext(ResourceNode[] path)(Code)(Java Doc) public DataFormula getPathFormula(ResourceNode[] path)(Code)(Java Doc) public Object getSymbolValue(String symbol)(Code)(Java Doc) public Object getValue(String symbol)(Code)(Java Doc) abstract protected DataFormula instantiateFormula(String formula_kind)(Code)(Java Doc) protected void invoke(String method, String[] parameters) throws NoSuchMethodException(Code)(Java Doc) protected Object lookupSymbol(String symbol, String[] args, boolean resolve)(Code)(Java Doc) protected Object nextLookup(String symbol, String[] args, boolean resolve)(Code)(Java Doc) protected boolean paramEqual(Object x, Object y)(Code)(Java Doc) protected void postInitialize()(Code)(Java Doc) protected ResourceContext preferredParent(RSS root)(Code)(Java Doc) public static void registerContextInstantiater(String kind, ContextInstantiater instantiater)(Code)(Java Doc) protected void reinitializeFormulas()(Code)(Java Doc) protected void removeChild(ResourceContext child)(Code)(Java Doc) protected ResourceContext resolveSpec(String kind, String[] parameters)(Code)(Java Doc) ResourceContext resolveSpec(Object id, String kind, String[] parameters)(Code)(Java Doc) protected void setDependencies(ResourceNode[] dependencies)(Code)(Java Doc) protected void setParent(ResourceContext parent)(Code)(Java Doc) protected void setSymbolValue(String symbol, Object value)(Code)(Java Doc) public String toString()(Code)(Java Doc) protected void unbindSymbolValue(String symbol)(Code)(Java Doc) protected boolean useParentPath()(Code)(Java Doc) abstract protected void verifyParameters(String[] parameters) throws ParameterError(Code)(Java Doc)
|
|
|