|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--SSF.OS.BGP4.Policy.Clause
Each instance of this class represents a clause in a BGP policy rule. A clause maps a predicate (on a route) to an action.
Predicate,
Action| Constructor Summary | |
Clause(Predicate p,
Action a)
The default constructor. |
|
| Method Summary | |
boolean[] |
apply_to(Route r)
Applies the predicate of this clause to the given route. |
java.lang.String |
toString()
Puts the clause into string form suitable for output. |
java.lang.String |
toString(java.lang.String ind)
Puts the clause into string form suitable for output. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public Clause(Predicate p,
Action a)
| Method Detail |
public boolean[] apply_to(Route r)
public java.lang.String toString()
toString in class java.lang.Objectpublic java.lang.String toString(java.lang.String ind)
ind - A string to use as a prefix for each line in the string.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||