|
xorp
|
The idealised command to execute. More...
#include <spt.hh>
Public Types | |
| enum | Cmd { ADD, DELETE, REPLACE } |
Public Member Functions | |
| RouteCmd (Cmd cmd, A node, A nexthop, A prevhop, int weight=0, bool next_hop_changed=false, bool weight_changed=false) | |
| Cmd | cmd () const |
| const A & | node () const |
| const A & | nexthop () const |
| const A & | prevhop () const |
| int | weight () const |
| bool | next_hop_changed () const |
| bool | weight_changed () const |
| bool | operator== (const RouteCmd &lhs) |
| string | c () const |
| string | str () const |
| template<> | |
| string | str () const |
Private Attributes | |
| Cmd | _cmd |
| A | _node |
| A | _nexthop |
| A | _prevhop |
| int | _weight |
| bool | _next_hop_changed |
| bool | _weight_changed |
The idealised command to execute.