xorp

static_routes_base.hh

00001 /*
00002  * obj/i686-pc-linux-gnu/xrl/targets/static_routes_base.hh
00003  * vim:set sts=4 ts=8 ft=cpp:
00004  *
00005  * Copyright (c) 2001-2011 XORP, Inc and Others
00006  * See the XORP LICENSE.lgpl file for licensing, conditions, and warranties
00007  * on use.
00008  *
00009  * DO NOT EDIT THIS FILE - IT IS PROGRAMMATICALLY GENERATED
00010  *
00011  * Generated by 'tgt-gen'.
00012  */
00013 
00014 
00015 #ifndef __XRL_TARGETS_STATIC_ROUTES_BASE_HH__
00016 #define __XRL_TARGETS_STATIC_ROUTES_BASE_HH__
00017 
00018 #undef XORP_LIBRARY_NAME
00019 #define XORP_LIBRARY_NAME "XrlStaticRoutesTarget"
00020 
00021 #include "libxorp/xlog.h"
00022 #include "libxipc/xrl_cmd_map.hh"
00023 
00024 class XrlStaticRoutesTargetBase {
00025 protected:
00026     XrlCmdMap* _cmds;
00027 
00028 public:
00036     XrlStaticRoutesTargetBase(XrlCmdMap* cmds = 0);
00037 
00043     virtual ~XrlStaticRoutesTargetBase();
00044 
00055     bool set_command_map(XrlCmdMap* cmds);
00056 
00060     const string& get_name() const { return _cmds->name(); }
00061 
00065     const char* version() const { return "static_routes/0.0"; }
00066 
00067 protected:
00068 
00074     virtual XrlCmdError common_0_1_get_target_name(
00075     // Output values,
00076     string& name) = 0;
00077 #ifdef XORP_ENABLE_ASYNC_SERVER
00078     typedef
00079     XorpCallback2<void, const XrlCmdError &,
00080     const string*>::RefPtr
00081     Common01GetTargetNameRF;
00082 
00083     class Common01GetTargetNameCB {
00084         Common01GetTargetNameRF cb;
00085 
00086     public:
00087         operator const Common01GetTargetNameRF& () const { return cb; }
00088         const Common01GetTargetNameRF& operator ->() const { return cb; }
00089         Common01GetTargetNameCB(const Common01GetTargetNameRF& cb)
00090           : cb(cb) { }
00091 
00092         void fail(const XrlCmdError &e) const { cb->dispatch(e, NULL); }
00093 
00094         void respond(const string& arg_name) const {
00095             cb->dispatch(XrlCmdError::OKAY(),
00096                          &arg_name);
00097         }
00098     };
00099 
00100     struct Common01GetTargetNameRsp :
00101       public Common01GetTargetNameCB {
00102         struct args_str {
00103             string name;
00104         };
00105 
00106     private:
00107         args_str args;
00108 
00109     public:
00110         Common01GetTargetNameRsp(const Common01GetTargetNameRF& cb)
00111           : Common01GetTargetNameCB(cb) { }
00112 
00113         void respond() const {
00114             Common01GetTargetNameCB::
00115             respond(args.name);
00116         }
00117 
00118         args_str* operator ->() {
00119             return &args;
00120         }
00121     };
00122 
00123     virtual void async_common_0_1_get_target_name
00124        (
00125     Common01GetTargetNameCB);
00126 #endif
00127 
00133     virtual XrlCmdError common_0_1_get_version(
00134     // Output values,
00135     string& version) = 0;
00136 #ifdef XORP_ENABLE_ASYNC_SERVER
00137     typedef
00138     XorpCallback2<void, const XrlCmdError &,
00139     const string*>::RefPtr
00140     Common01GetVersionRF;
00141 
00142     class Common01GetVersionCB {
00143         Common01GetVersionRF cb;
00144 
00145     public:
00146         operator const Common01GetVersionRF& () const { return cb; }
00147         const Common01GetVersionRF& operator ->() const { return cb; }
00148         Common01GetVersionCB(const Common01GetVersionRF& cb)
00149           : cb(cb) { }
00150 
00151         void fail(const XrlCmdError &e) const { cb->dispatch(e, NULL); }
00152 
00153         void respond(const string& arg_version) const {
00154             cb->dispatch(XrlCmdError::OKAY(),
00155                          &arg_version);
00156         }
00157     };
00158 
00159     struct Common01GetVersionRsp :
00160       public Common01GetVersionCB {
00161         struct args_str {
00162             string version;
00163         };
00164 
00165     private:
00166         args_str args;
00167 
00168     public:
00169         Common01GetVersionRsp(const Common01GetVersionRF& cb)
00170           : Common01GetVersionCB(cb) { }
00171 
00172         void respond() const {
00173             Common01GetVersionCB::
00174             respond(args.version);
00175         }
00176 
00177         args_str* operator ->() {
00178             return &args;
00179         }
00180     };
00181 
00182     virtual void async_common_0_1_get_version
00183        (
00184     Common01GetVersionCB);
00185 #endif
00186 
00192     virtual XrlCmdError common_0_1_get_status(
00193     // Output values,
00194     uint32_t&   status,
00195     string& reason) = 0;
00196 #ifdef XORP_ENABLE_ASYNC_SERVER
00197     typedef
00198     XorpCallback3<void, const XrlCmdError &,
00199     const uint32_t*,
00200     const string*>::RefPtr
00201     Common01GetStatusRF;
00202 
00203     class Common01GetStatusCB {
00204         Common01GetStatusRF cb;
00205 
00206     public:
00207         operator const Common01GetStatusRF& () const { return cb; }
00208         const Common01GetStatusRF& operator ->() const { return cb; }
00209         Common01GetStatusCB(const Common01GetStatusRF& cb)
00210           : cb(cb) { }
00211 
00212         void fail(const XrlCmdError &e) const { cb->dispatch(e, NULL, NULL); }
00213 
00214         void respond(const uint32_t& arg_status,
00215                      const string& arg_reason) const {
00216             cb->dispatch(XrlCmdError::OKAY(),
00217                          &arg_status,
00218                          &arg_reason);
00219         }
00220     };
00221 
00222     struct Common01GetStatusRsp :
00223       public Common01GetStatusCB {
00224         struct args_str {
00225             uint32_t status;
00226             string reason;
00227         };
00228 
00229     private:
00230         args_str args;
00231 
00232     public:
00233         Common01GetStatusRsp(const Common01GetStatusRF& cb)
00234           : Common01GetStatusCB(cb) { }
00235 
00236         void respond() const {
00237             Common01GetStatusCB::
00238             respond(args.status,
00239                         args.reason);
00240         }
00241 
00242         args_str* operator ->() {
00243             return &args;
00244         }
00245     };
00246 
00247     virtual void async_common_0_1_get_status
00248        (
00249     Common01GetStatusCB);
00250 #endif
00251 
00257     virtual XrlCmdError common_0_1_shutdown() = 0;
00258 #ifdef XORP_ENABLE_ASYNC_SERVER
00259     typedef
00260     XorpCallback1<void, const XrlCmdError &>::RefPtr
00261     Common01ShutdownRF;
00262 
00263     class Common01ShutdownCB {
00264         Common01ShutdownRF cb;
00265 
00266     public:
00267         operator const Common01ShutdownRF& () const { return cb; }
00268         const Common01ShutdownRF& operator ->() const { return cb; }
00269         Common01ShutdownCB(const Common01ShutdownRF& cb)
00270           : cb(cb) { }
00271 
00272         void fail(const XrlCmdError &e) const { cb->dispatch(e); }
00273 
00274         void respond() const {
00275             cb->dispatch(XrlCmdError::OKAY());
00276         }
00277     };
00278 
00279     struct Common01ShutdownRsp :
00280       public Common01ShutdownCB {
00281         Common01ShutdownRsp(const Common01ShutdownRF& cb)
00282           : Common01ShutdownCB(cb) { }
00283 
00284     };
00285 
00286     virtual void async_common_0_1_shutdown
00287        (
00288     Common01ShutdownCB);
00289 #endif
00290 
00296     virtual XrlCmdError common_0_1_startup() = 0;
00297 #ifdef XORP_ENABLE_ASYNC_SERVER
00298     typedef
00299     XorpCallback1<void, const XrlCmdError &>::RefPtr
00300     Common01StartupRF;
00301 
00302     class Common01StartupCB {
00303         Common01StartupRF cb;
00304 
00305     public:
00306         operator const Common01StartupRF& () const { return cb; }
00307         const Common01StartupRF& operator ->() const { return cb; }
00308         Common01StartupCB(const Common01StartupRF& cb)
00309           : cb(cb) { }
00310 
00311         void fail(const XrlCmdError &e) const { cb->dispatch(e); }
00312 
00313         void respond() const {
00314             cb->dispatch(XrlCmdError::OKAY());
00315         }
00316     };
00317 
00318     struct Common01StartupRsp :
00319       public Common01StartupCB {
00320         Common01StartupRsp(const Common01StartupRF& cb)
00321           : Common01StartupCB(cb) { }
00322 
00323     };
00324 
00325     virtual void async_common_0_1_startup
00326        (
00327     Common01StartupCB);
00328 #endif
00329 
00339     virtual XrlCmdError finder_event_observer_0_1_xrl_target_birth(
00340     // Input values,
00341     const string&   target_class,
00342     const string&   target_instance) = 0;
00343 #ifdef XORP_ENABLE_ASYNC_SERVER
00344     typedef
00345     XorpCallback1<void, const XrlCmdError &>::RefPtr
00346     FinderEventObserver01XrlTargetBirthRF;
00347 
00348     class FinderEventObserver01XrlTargetBirthCB {
00349         FinderEventObserver01XrlTargetBirthRF cb;
00350 
00351     public:
00352         operator const FinderEventObserver01XrlTargetBirthRF& () const { return cb; }
00353         const FinderEventObserver01XrlTargetBirthRF& operator ->() const { return cb; }
00354         FinderEventObserver01XrlTargetBirthCB(const FinderEventObserver01XrlTargetBirthRF& cb)
00355           : cb(cb) { }
00356 
00357         void fail(const XrlCmdError &e) const { cb->dispatch(e); }
00358 
00359         void respond() const {
00360             cb->dispatch(XrlCmdError::OKAY());
00361         }
00362     };
00363 
00364     struct FinderEventObserver01XrlTargetBirthRsp :
00365       public FinderEventObserver01XrlTargetBirthCB {
00366         FinderEventObserver01XrlTargetBirthRsp(const FinderEventObserver01XrlTargetBirthRF& cb)
00367           : FinderEventObserver01XrlTargetBirthCB(cb) { }
00368 
00369     };
00370 
00371     virtual void async_finder_event_observer_0_1_xrl_target_birth
00372        (
00373     const string&   target_class,
00374     const string&   target_instance,
00375     FinderEventObserver01XrlTargetBirthCB);
00376 #endif
00377 
00387     virtual XrlCmdError finder_event_observer_0_1_xrl_target_death(
00388     // Input values,
00389     const string&   target_class,
00390     const string&   target_instance) = 0;
00391 #ifdef XORP_ENABLE_ASYNC_SERVER
00392     typedef
00393     XorpCallback1<void, const XrlCmdError &>::RefPtr
00394     FinderEventObserver01XrlTargetDeathRF;
00395 
00396     class FinderEventObserver01XrlTargetDeathCB {
00397         FinderEventObserver01XrlTargetDeathRF cb;
00398 
00399     public:
00400         operator const FinderEventObserver01XrlTargetDeathRF& () const { return cb; }
00401         const FinderEventObserver01XrlTargetDeathRF& operator ->() const { return cb; }
00402         FinderEventObserver01XrlTargetDeathCB(const FinderEventObserver01XrlTargetDeathRF& cb)
00403           : cb(cb) { }
00404 
00405         void fail(const XrlCmdError &e) const { cb->dispatch(e); }
00406 
00407         void respond() const {
00408             cb->dispatch(XrlCmdError::OKAY());
00409         }
00410     };
00411 
00412     struct FinderEventObserver01XrlTargetDeathRsp :
00413       public FinderEventObserver01XrlTargetDeathCB {
00414         FinderEventObserver01XrlTargetDeathRsp(const FinderEventObserver01XrlTargetDeathRF& cb)
00415           : FinderEventObserver01XrlTargetDeathCB(cb) { }
00416 
00417     };
00418 
00419     virtual void async_finder_event_observer_0_1_xrl_target_death
00420        (
00421     const string&   target_class,
00422     const string&   target_instance,
00423     FinderEventObserver01XrlTargetDeathCB);
00424 #endif
00425 
00435     virtual XrlCmdError policy_backend_0_1_configure(
00436     // Input values,
00437     const uint32_t& filter,
00438     const string&   conf) = 0;
00439 #ifdef XORP_ENABLE_ASYNC_SERVER
00440     typedef
00441     XorpCallback1<void, const XrlCmdError &>::RefPtr
00442     PolicyBackend01ConfigureRF;
00443 
00444     class PolicyBackend01ConfigureCB {
00445         PolicyBackend01ConfigureRF cb;
00446 
00447     public:
00448         operator const PolicyBackend01ConfigureRF& () const { return cb; }
00449         const PolicyBackend01ConfigureRF& operator ->() const { return cb; }
00450         PolicyBackend01ConfigureCB(const PolicyBackend01ConfigureRF& cb)
00451           : cb(cb) { }
00452 
00453         void fail(const XrlCmdError &e) const { cb->dispatch(e); }
00454 
00455         void respond() const {
00456             cb->dispatch(XrlCmdError::OKAY());
00457         }
00458     };
00459 
00460     struct PolicyBackend01ConfigureRsp :
00461       public PolicyBackend01ConfigureCB {
00462         PolicyBackend01ConfigureRsp(const PolicyBackend01ConfigureRF& cb)
00463           : PolicyBackend01ConfigureCB(cb) { }
00464 
00465     };
00466 
00467     virtual void async_policy_backend_0_1_configure
00468        (
00469     const uint32_t& filter,
00470     const string&   conf,
00471     PolicyBackend01ConfigureCB);
00472 #endif
00473 
00481     virtual XrlCmdError policy_backend_0_1_reset(
00482     // Input values,
00483     const uint32_t& filter) = 0;
00484 #ifdef XORP_ENABLE_ASYNC_SERVER
00485     typedef
00486     XorpCallback1<void, const XrlCmdError &>::RefPtr
00487     PolicyBackend01ResetRF;
00488 
00489     class PolicyBackend01ResetCB {
00490         PolicyBackend01ResetRF cb;
00491 
00492     public:
00493         operator const PolicyBackend01ResetRF& () const { return cb; }
00494         const PolicyBackend01ResetRF& operator ->() const { return cb; }
00495         PolicyBackend01ResetCB(const PolicyBackend01ResetRF& cb)
00496           : cb(cb) { }
00497 
00498         void fail(const XrlCmdError &e) const { cb->dispatch(e); }
00499 
00500         void respond() const {
00501             cb->dispatch(XrlCmdError::OKAY());
00502         }
00503     };
00504 
00505     struct PolicyBackend01ResetRsp :
00506       public PolicyBackend01ResetCB {
00507         PolicyBackend01ResetRsp(const PolicyBackend01ResetRF& cb)
00508           : PolicyBackend01ResetCB(cb) { }
00509 
00510     };
00511 
00512     virtual void async_policy_backend_0_1_reset
00513        (
00514     const uint32_t& filter,
00515     PolicyBackend01ResetCB);
00516 #endif
00517 
00523     virtual XrlCmdError policy_backend_0_1_push_routes() = 0;
00524 #ifdef XORP_ENABLE_ASYNC_SERVER
00525     typedef
00526     XorpCallback1<void, const XrlCmdError &>::RefPtr
00527     PolicyBackend01PushRoutesRF;
00528 
00529     class PolicyBackend01PushRoutesCB {
00530         PolicyBackend01PushRoutesRF cb;
00531 
00532     public:
00533         operator const PolicyBackend01PushRoutesRF& () const { return cb; }
00534         const PolicyBackend01PushRoutesRF& operator ->() const { return cb; }
00535         PolicyBackend01PushRoutesCB(const PolicyBackend01PushRoutesRF& cb)
00536           : cb(cb) { }
00537 
00538         void fail(const XrlCmdError &e) const { cb->dispatch(e); }
00539 
00540         void respond() const {
00541             cb->dispatch(XrlCmdError::OKAY());
00542         }
00543     };
00544 
00545     struct PolicyBackend01PushRoutesRsp :
00546       public PolicyBackend01PushRoutesCB {
00547         PolicyBackend01PushRoutesRsp(const PolicyBackend01PushRoutesRF& cb)
00548           : PolicyBackend01PushRoutesCB(cb) { }
00549 
00550     };
00551 
00552     virtual void async_policy_backend_0_1_push_routes
00553        (
00554     PolicyBackend01PushRoutesCB);
00555 #endif
00556 
00564     virtual XrlCmdError static_routes_0_1_enable_static_routes(
00565     // Input values,
00566     const bool& enable) = 0;
00567 #ifdef XORP_ENABLE_ASYNC_SERVER
00568     typedef
00569     XorpCallback1<void, const XrlCmdError &>::RefPtr
00570     StaticRoutes01EnableStaticRoutesRF;
00571 
00572     class StaticRoutes01EnableStaticRoutesCB {
00573         StaticRoutes01EnableStaticRoutesRF cb;
00574 
00575     public:
00576         operator const StaticRoutes01EnableStaticRoutesRF& () const { return cb; }
00577         const StaticRoutes01EnableStaticRoutesRF& operator ->() const { return cb; }
00578         StaticRoutes01EnableStaticRoutesCB(const StaticRoutes01EnableStaticRoutesRF& cb)
00579           : cb(cb) { }
00580 
00581         void fail(const XrlCmdError &e) const { cb->dispatch(e); }
00582 
00583         void respond() const {
00584             cb->dispatch(XrlCmdError::OKAY());
00585         }
00586     };
00587 
00588     struct StaticRoutes01EnableStaticRoutesRsp :
00589       public StaticRoutes01EnableStaticRoutesCB {
00590         StaticRoutes01EnableStaticRoutesRsp(const StaticRoutes01EnableStaticRoutesRF& cb)
00591           : StaticRoutes01EnableStaticRoutesCB(cb) { }
00592 
00593     };
00594 
00595     virtual void async_static_routes_0_1_enable_static_routes
00596        (
00597     const bool& enable,
00598     StaticRoutes01EnableStaticRoutesCB);
00599 #endif
00600 
00601     virtual XrlCmdError static_routes_0_1_start_static_routes() = 0;
00602 #ifdef XORP_ENABLE_ASYNC_SERVER
00603     typedef
00604     XorpCallback1<void, const XrlCmdError &>::RefPtr
00605     StaticRoutes01StartStaticRoutesRF;
00606 
00607     class StaticRoutes01StartStaticRoutesCB {
00608         StaticRoutes01StartStaticRoutesRF cb;
00609 
00610     public:
00611         operator const StaticRoutes01StartStaticRoutesRF& () const { return cb; }
00612         const StaticRoutes01StartStaticRoutesRF& operator ->() const { return cb; }
00613         StaticRoutes01StartStaticRoutesCB(const StaticRoutes01StartStaticRoutesRF& cb)
00614           : cb(cb) { }
00615 
00616         void fail(const XrlCmdError &e) const { cb->dispatch(e); }
00617 
00618         void respond() const {
00619             cb->dispatch(XrlCmdError::OKAY());
00620         }
00621     };
00622 
00623     struct StaticRoutes01StartStaticRoutesRsp :
00624       public StaticRoutes01StartStaticRoutesCB {
00625         StaticRoutes01StartStaticRoutesRsp(const StaticRoutes01StartStaticRoutesRF& cb)
00626           : StaticRoutes01StartStaticRoutesCB(cb) { }
00627 
00628     };
00629 
00630     virtual void async_static_routes_0_1_start_static_routes
00631        (
00632     StaticRoutes01StartStaticRoutesCB);
00633 #endif
00634 
00635     virtual XrlCmdError static_routes_0_1_stop_static_routes() = 0;
00636 #ifdef XORP_ENABLE_ASYNC_SERVER
00637     typedef
00638     XorpCallback1<void, const XrlCmdError &>::RefPtr
00639     StaticRoutes01StopStaticRoutesRF;
00640 
00641     class StaticRoutes01StopStaticRoutesCB {
00642         StaticRoutes01StopStaticRoutesRF cb;
00643 
00644     public:
00645         operator const StaticRoutes01StopStaticRoutesRF& () const { return cb; }
00646         const StaticRoutes01StopStaticRoutesRF& operator ->() const { return cb; }
00647         StaticRoutes01StopStaticRoutesCB(const StaticRoutes01StopStaticRoutesRF& cb)
00648           : cb(cb) { }
00649 
00650         void fail(const XrlCmdError &e) const { cb->dispatch(e); }
00651 
00652         void respond() const {
00653             cb->dispatch(XrlCmdError::OKAY());
00654         }
00655     };
00656 
00657     struct StaticRoutes01StopStaticRoutesRsp :
00658       public StaticRoutes01StopStaticRoutesCB {
00659         StaticRoutes01StopStaticRoutesRsp(const StaticRoutes01StopStaticRoutesRF& cb)
00660           : StaticRoutes01StopStaticRoutesCB(cb) { }
00661 
00662     };
00663 
00664     virtual void async_static_routes_0_1_stop_static_routes
00665        (
00666     StaticRoutes01StopStaticRoutesCB);
00667 #endif
00668 
00687     virtual XrlCmdError static_routes_0_1_add_route4(
00688     // Input values,
00689     const bool& unicast,
00690     const bool& multicast,
00691     const IPv4Net&  network,
00692     const IPv4& nexthop,
00693     const uint32_t& metric) = 0;
00694 #ifdef XORP_ENABLE_ASYNC_SERVER
00695     typedef
00696     XorpCallback1<void, const XrlCmdError &>::RefPtr
00697     StaticRoutes01AddRoute4RF;
00698 
00699     class StaticRoutes01AddRoute4CB {
00700         StaticRoutes01AddRoute4RF cb;
00701 
00702     public:
00703         operator const StaticRoutes01AddRoute4RF& () const { return cb; }
00704         const StaticRoutes01AddRoute4RF& operator ->() const { return cb; }
00705         StaticRoutes01AddRoute4CB(const StaticRoutes01AddRoute4RF& cb)
00706           : cb(cb) { }
00707 
00708         void fail(const XrlCmdError &e) const { cb->dispatch(e); }
00709 
00710         void respond() const {
00711             cb->dispatch(XrlCmdError::OKAY());
00712         }
00713     };
00714 
00715     struct StaticRoutes01AddRoute4Rsp :
00716       public StaticRoutes01AddRoute4CB {
00717         StaticRoutes01AddRoute4Rsp(const StaticRoutes01AddRoute4RF& cb)
00718           : StaticRoutes01AddRoute4CB(cb) { }
00719 
00720     };
00721 
00722     virtual void async_static_routes_0_1_add_route4
00723        (
00724     const bool& unicast,
00725     const bool& multicast,
00726     const IPv4Net&  network,
00727     const IPv4& nexthop,
00728     const uint32_t& metric,
00729     StaticRoutes01AddRoute4CB);
00730 #endif
00731 
00732     virtual XrlCmdError static_routes_0_1_add_route6(
00733     // Input values,
00734     const bool& unicast,
00735     const bool& multicast,
00736     const IPv6Net&  network,
00737     const IPv6& nexthop,
00738     const uint32_t& metric) = 0;
00739 #ifdef XORP_ENABLE_ASYNC_SERVER
00740     typedef
00741     XorpCallback1<void, const XrlCmdError &>::RefPtr
00742     StaticRoutes01AddRoute6RF;
00743 
00744     class StaticRoutes01AddRoute6CB {
00745         StaticRoutes01AddRoute6RF cb;
00746 
00747     public:
00748         operator const StaticRoutes01AddRoute6RF& () const { return cb; }
00749         const StaticRoutes01AddRoute6RF& operator ->() const { return cb; }
00750         StaticRoutes01AddRoute6CB(const StaticRoutes01AddRoute6RF& cb)
00751           : cb(cb) { }
00752 
00753         void fail(const XrlCmdError &e) const { cb->dispatch(e); }
00754 
00755         void respond() const {
00756             cb->dispatch(XrlCmdError::OKAY());
00757         }
00758     };
00759 
00760     struct StaticRoutes01AddRoute6Rsp :
00761       public StaticRoutes01AddRoute6CB {
00762         StaticRoutes01AddRoute6Rsp(const StaticRoutes01AddRoute6RF& cb)
00763           : StaticRoutes01AddRoute6CB(cb) { }
00764 
00765     };
00766 
00767     virtual void async_static_routes_0_1_add_route6
00768        (
00769     const bool& unicast,
00770     const bool& multicast,
00771     const IPv6Net&  network,
00772     const IPv6& nexthop,
00773     const uint32_t& metric,
00774     StaticRoutes01AddRoute6CB);
00775 #endif
00776 
00777     virtual XrlCmdError static_routes_0_1_replace_route4(
00778     // Input values,
00779     const bool& unicast,
00780     const bool& multicast,
00781     const IPv4Net&  network,
00782     const IPv4& nexthop,
00783     const uint32_t& metric) = 0;
00784 #ifdef XORP_ENABLE_ASYNC_SERVER
00785     typedef
00786     XorpCallback1<void, const XrlCmdError &>::RefPtr
00787     StaticRoutes01ReplaceRoute4RF;
00788 
00789     class StaticRoutes01ReplaceRoute4CB {
00790         StaticRoutes01ReplaceRoute4RF cb;
00791 
00792     public:
00793         operator const StaticRoutes01ReplaceRoute4RF& () const { return cb; }
00794         const StaticRoutes01ReplaceRoute4RF& operator ->() const { return cb; }
00795         StaticRoutes01ReplaceRoute4CB(const StaticRoutes01ReplaceRoute4RF& cb)
00796           : cb(cb) { }
00797 
00798         void fail(const XrlCmdError &e) const { cb->dispatch(e); }
00799 
00800         void respond() const {
00801             cb->dispatch(XrlCmdError::OKAY());
00802         }
00803     };
00804 
00805     struct StaticRoutes01ReplaceRoute4Rsp :
00806       public StaticRoutes01ReplaceRoute4CB {
00807         StaticRoutes01ReplaceRoute4Rsp(const StaticRoutes01ReplaceRoute4RF& cb)
00808           : StaticRoutes01ReplaceRoute4CB(cb) { }
00809 
00810     };
00811 
00812     virtual void async_static_routes_0_1_replace_route4
00813        (
00814     const bool& unicast,
00815     const bool& multicast,
00816     const IPv4Net&  network,
00817     const IPv4& nexthop,
00818     const uint32_t& metric,
00819     StaticRoutes01ReplaceRoute4CB);
00820 #endif
00821 
00822     virtual XrlCmdError static_routes_0_1_replace_route6(
00823     // Input values,
00824     const bool& unicast,
00825     const bool& multicast,
00826     const IPv6Net&  network,
00827     const IPv6& nexthop,
00828     const uint32_t& metric) = 0;
00829 #ifdef XORP_ENABLE_ASYNC_SERVER
00830     typedef
00831     XorpCallback1<void, const XrlCmdError &>::RefPtr
00832     StaticRoutes01ReplaceRoute6RF;
00833 
00834     class StaticRoutes01ReplaceRoute6CB {
00835         StaticRoutes01ReplaceRoute6RF cb;
00836 
00837     public:
00838         operator const StaticRoutes01ReplaceRoute6RF& () const { return cb; }
00839         const StaticRoutes01ReplaceRoute6RF& operator ->() const { return cb; }
00840         StaticRoutes01ReplaceRoute6CB(const StaticRoutes01ReplaceRoute6RF& cb)
00841           : cb(cb) { }
00842 
00843         void fail(const XrlCmdError &e) const { cb->dispatch(e); }
00844 
00845         void respond() const {
00846             cb->dispatch(XrlCmdError::OKAY());
00847         }
00848     };
00849 
00850     struct StaticRoutes01ReplaceRoute6Rsp :
00851       public StaticRoutes01ReplaceRoute6CB {
00852         StaticRoutes01ReplaceRoute6Rsp(const StaticRoutes01ReplaceRoute6RF& cb)
00853           : StaticRoutes01ReplaceRoute6CB(cb) { }
00854 
00855     };
00856 
00857     virtual void async_static_routes_0_1_replace_route6
00858        (
00859     const bool& unicast,
00860     const bool& multicast,
00861     const IPv6Net&  network,
00862     const IPv6& nexthop,
00863     const uint32_t& metric,
00864     StaticRoutes01ReplaceRoute6CB);
00865 #endif
00866 
00867     virtual XrlCmdError static_routes_0_1_delete_route4(
00868     // Input values,
00869     const bool& unicast,
00870     const bool& multicast,
00871     const IPv4Net&  network,
00872     const IPv4& nexthop) = 0;
00873 #ifdef XORP_ENABLE_ASYNC_SERVER
00874     typedef
00875     XorpCallback1<void, const XrlCmdError &>::RefPtr
00876     StaticRoutes01DeleteRoute4RF;
00877 
00878     class StaticRoutes01DeleteRoute4CB {
00879         StaticRoutes01DeleteRoute4RF cb;
00880 
00881     public:
00882         operator const StaticRoutes01DeleteRoute4RF& () const { return cb; }
00883         const StaticRoutes01DeleteRoute4RF& operator ->() const { return cb; }
00884         StaticRoutes01DeleteRoute4CB(const StaticRoutes01DeleteRoute4RF& cb)
00885           : cb(cb) { }
00886 
00887         void fail(const XrlCmdError &e) const { cb->dispatch(e); }
00888 
00889         void respond() const {
00890             cb->dispatch(XrlCmdError::OKAY());
00891         }
00892     };
00893 
00894     struct StaticRoutes01DeleteRoute4Rsp :
00895       public StaticRoutes01DeleteRoute4CB {
00896         StaticRoutes01DeleteRoute4Rsp(const StaticRoutes01DeleteRoute4RF& cb)
00897           : StaticRoutes01DeleteRoute4CB(cb) { }
00898 
00899     };
00900 
00901     virtual void async_static_routes_0_1_delete_route4
00902        (
00903     const bool& unicast,
00904     const bool& multicast,
00905     const IPv4Net&  network,
00906     const IPv4& nexthop,
00907     StaticRoutes01DeleteRoute4CB);
00908 #endif
00909 
00910     virtual XrlCmdError static_routes_0_1_delete_route6(
00911     // Input values,
00912     const bool& unicast,
00913     const bool& multicast,
00914     const IPv6Net&  network,
00915     const IPv6& nexthop) = 0;
00916 #ifdef XORP_ENABLE_ASYNC_SERVER
00917     typedef
00918     XorpCallback1<void, const XrlCmdError &>::RefPtr
00919     StaticRoutes01DeleteRoute6RF;
00920 
00921     class StaticRoutes01DeleteRoute6CB {
00922         StaticRoutes01DeleteRoute6RF cb;
00923 
00924     public:
00925         operator const StaticRoutes01DeleteRoute6RF& () const { return cb; }
00926         const StaticRoutes01DeleteRoute6RF& operator ->() const { return cb; }
00927         StaticRoutes01DeleteRoute6CB(const StaticRoutes01DeleteRoute6RF& cb)
00928           : cb(cb) { }
00929 
00930         void fail(const XrlCmdError &e) const { cb->dispatch(e); }
00931 
00932         void respond() const {
00933             cb->dispatch(XrlCmdError::OKAY());
00934         }
00935     };
00936 
00937     struct StaticRoutes01DeleteRoute6Rsp :
00938       public StaticRoutes01DeleteRoute6CB {
00939         StaticRoutes01DeleteRoute6Rsp(const StaticRoutes01DeleteRoute6RF& cb)
00940           : StaticRoutes01DeleteRoute6CB(cb) { }
00941 
00942     };
00943 
00944     virtual void async_static_routes_0_1_delete_route6
00945        (
00946     const bool& unicast,
00947     const bool& multicast,
00948     const IPv6Net&  network,
00949     const IPv6& nexthop,
00950     StaticRoutes01DeleteRoute6CB);
00951 #endif
00952 
00971     virtual XrlCmdError static_routes_0_1_add_backup_route4(
00972     // Input values,
00973     const bool& unicast,
00974     const bool& multicast,
00975     const IPv4Net&  network,
00976     const IPv4& nexthop,
00977     const uint32_t& metric) = 0;
00978 #ifdef XORP_ENABLE_ASYNC_SERVER
00979     typedef
00980     XorpCallback1<void, const XrlCmdError &>::RefPtr
00981     StaticRoutes01AddBackupRoute4RF;
00982 
00983     class StaticRoutes01AddBackupRoute4CB {
00984         StaticRoutes01AddBackupRoute4RF cb;
00985 
00986     public:
00987         operator const StaticRoutes01AddBackupRoute4RF& () const { return cb; }
00988         const StaticRoutes01AddBackupRoute4RF& operator ->() const { return cb; }
00989         StaticRoutes01AddBackupRoute4CB(const StaticRoutes01AddBackupRoute4RF& cb)
00990           : cb(cb) { }
00991 
00992         void fail(const XrlCmdError &e) const { cb->dispatch(e); }
00993 
00994         void respond() const {
00995             cb->dispatch(XrlCmdError::OKAY());
00996         }
00997     };
00998 
00999     struct StaticRoutes01AddBackupRoute4Rsp :
01000       public StaticRoutes01AddBackupRoute4CB {
01001         StaticRoutes01AddBackupRoute4Rsp(const StaticRoutes01AddBackupRoute4RF& cb)
01002           : StaticRoutes01AddBackupRoute4CB(cb) { }
01003 
01004     };
01005 
01006     virtual void async_static_routes_0_1_add_backup_route4
01007        (
01008     const bool& unicast,
01009     const bool& multicast,
01010     const IPv4Net&  network,
01011     const IPv4& nexthop,
01012     const uint32_t& metric,
01013     StaticRoutes01AddBackupRoute4CB);
01014 #endif
01015 
01016     virtual XrlCmdError static_routes_0_1_add_backup_route6(
01017     // Input values,
01018     const bool& unicast,
01019     const bool& multicast,
01020     const IPv6Net&  network,
01021     const IPv6& nexthop,
01022     const uint32_t& metric) = 0;
01023 #ifdef XORP_ENABLE_ASYNC_SERVER
01024     typedef
01025     XorpCallback1<void, const XrlCmdError &>::RefPtr
01026     StaticRoutes01AddBackupRoute6RF;
01027 
01028     class StaticRoutes01AddBackupRoute6CB {
01029         StaticRoutes01AddBackupRoute6RF cb;
01030 
01031     public:
01032         operator const StaticRoutes01AddBackupRoute6RF& () const { return cb; }
01033         const StaticRoutes01AddBackupRoute6RF& operator ->() const { return cb; }
01034         StaticRoutes01AddBackupRoute6CB(const StaticRoutes01AddBackupRoute6RF& cb)
01035           : cb(cb) { }
01036 
01037         void fail(const XrlCmdError &e) const { cb->dispatch(e); }
01038 
01039         void respond() const {
01040             cb->dispatch(XrlCmdError::OKAY());
01041         }
01042     };
01043 
01044     struct StaticRoutes01AddBackupRoute6Rsp :
01045       public StaticRoutes01AddBackupRoute6CB {
01046         StaticRoutes01AddBackupRoute6Rsp(const StaticRoutes01AddBackupRoute6RF& cb)
01047           : StaticRoutes01AddBackupRoute6CB(cb) { }
01048 
01049     };
01050 
01051     virtual void async_static_routes_0_1_add_backup_route6
01052        (
01053     const bool& unicast,
01054     const bool& multicast,
01055     const IPv6Net&  network,
01056     const IPv6& nexthop,
01057     const uint32_t& metric,
01058     StaticRoutes01AddBackupRoute6CB);
01059 #endif
01060 
01061     virtual XrlCmdError static_routes_0_1_replace_backup_route4(
01062     // Input values,
01063     const bool& unicast,
01064     const bool& multicast,
01065     const IPv4Net&  network,
01066     const IPv4& nexthop,
01067     const uint32_t& metric) = 0;
01068 #ifdef XORP_ENABLE_ASYNC_SERVER
01069     typedef
01070     XorpCallback1<void, const XrlCmdError &>::RefPtr
01071     StaticRoutes01ReplaceBackupRoute4RF;
01072 
01073     class StaticRoutes01ReplaceBackupRoute4CB {
01074         StaticRoutes01ReplaceBackupRoute4RF cb;
01075 
01076     public:
01077         operator const StaticRoutes01ReplaceBackupRoute4RF& () const { return cb; }
01078         const StaticRoutes01ReplaceBackupRoute4RF& operator ->() const { return cb; }
01079         StaticRoutes01ReplaceBackupRoute4CB(const StaticRoutes01ReplaceBackupRoute4RF& cb)
01080           : cb(cb) { }
01081 
01082         void fail(const XrlCmdError &e) const { cb->dispatch(e); }
01083 
01084         void respond() const {
01085             cb->dispatch(XrlCmdError::OKAY());
01086         }
01087     };
01088 
01089     struct StaticRoutes01ReplaceBackupRoute4Rsp :
01090       public StaticRoutes01ReplaceBackupRoute4CB {
01091         StaticRoutes01ReplaceBackupRoute4Rsp(const StaticRoutes01ReplaceBackupRoute4RF& cb)
01092           : StaticRoutes01ReplaceBackupRoute4CB(cb) { }
01093 
01094     };
01095 
01096     virtual void async_static_routes_0_1_replace_backup_route4
01097        (
01098     const bool& unicast,
01099     const bool& multicast,
01100     const IPv4Net&  network,
01101     const IPv4& nexthop,
01102     const uint32_t& metric,
01103     StaticRoutes01ReplaceBackupRoute4CB);
01104 #endif
01105 
01106     virtual XrlCmdError static_routes_0_1_replace_backup_route6(
01107     // Input values,
01108     const bool& unicast,
01109     const bool& multicast,
01110     const IPv6Net&  network,
01111     const IPv6& nexthop,
01112     const uint32_t& metric) = 0;
01113 #ifdef XORP_ENABLE_ASYNC_SERVER
01114     typedef
01115     XorpCallback1<void, const XrlCmdError &>::RefPtr
01116     StaticRoutes01ReplaceBackupRoute6RF;
01117 
01118     class StaticRoutes01ReplaceBackupRoute6CB {
01119         StaticRoutes01ReplaceBackupRoute6RF cb;
01120 
01121     public:
01122         operator const StaticRoutes01ReplaceBackupRoute6RF& () const { return cb; }
01123         const StaticRoutes01ReplaceBackupRoute6RF& operator ->() const { return cb; }
01124         StaticRoutes01ReplaceBackupRoute6CB(const StaticRoutes01ReplaceBackupRoute6RF& cb)
01125           : cb(cb) { }
01126 
01127         void fail(const XrlCmdError &e) const { cb->dispatch(e); }
01128 
01129         void respond() const {
01130             cb->dispatch(XrlCmdError::OKAY());
01131         }
01132     };
01133 
01134     struct StaticRoutes01ReplaceBackupRoute6Rsp :
01135       public StaticRoutes01ReplaceBackupRoute6CB {
01136         StaticRoutes01ReplaceBackupRoute6Rsp(const StaticRoutes01ReplaceBackupRoute6RF& cb)
01137           : StaticRoutes01ReplaceBackupRoute6CB(cb) { }
01138 
01139     };
01140 
01141     virtual void async_static_routes_0_1_replace_backup_route6
01142        (
01143     const bool& unicast,
01144     const bool& multicast,
01145     const IPv6Net&  network,
01146     const IPv6& nexthop,
01147     const uint32_t& metric,
01148     StaticRoutes01ReplaceBackupRoute6CB);
01149 #endif
01150 
01151     virtual XrlCmdError static_routes_0_1_delete_backup_route4(
01152     // Input values,
01153     const bool& unicast,
01154     const bool& multicast,
01155     const IPv4Net&  network,
01156     const IPv4& nexthop) = 0;
01157 #ifdef XORP_ENABLE_ASYNC_SERVER
01158     typedef
01159     XorpCallback1<void, const XrlCmdError &>::RefPtr
01160     StaticRoutes01DeleteBackupRoute4RF;
01161 
01162     class StaticRoutes01DeleteBackupRoute4CB {
01163         StaticRoutes01DeleteBackupRoute4RF cb;
01164 
01165     public:
01166         operator const StaticRoutes01DeleteBackupRoute4RF& () const { return cb; }
01167         const StaticRoutes01DeleteBackupRoute4RF& operator ->() const { return cb; }
01168         StaticRoutes01DeleteBackupRoute4CB(const StaticRoutes01DeleteBackupRoute4RF& cb)
01169           : cb(cb) { }
01170 
01171         void fail(const XrlCmdError &e) const { cb->dispatch(e); }
01172 
01173         void respond() const {
01174             cb->dispatch(XrlCmdError::OKAY());
01175         }
01176     };
01177 
01178     struct StaticRoutes01DeleteBackupRoute4Rsp :
01179       public StaticRoutes01DeleteBackupRoute4CB {
01180         StaticRoutes01DeleteBackupRoute4Rsp(const StaticRoutes01DeleteBackupRoute4RF& cb)
01181           : StaticRoutes01DeleteBackupRoute4CB(cb) { }
01182 
01183     };
01184 
01185     virtual void async_static_routes_0_1_delete_backup_route4
01186        (
01187     const bool& unicast,
01188     const bool& multicast,
01189     const IPv4Net&  network,
01190     const IPv4& nexthop,
01191     StaticRoutes01DeleteBackupRoute4CB);
01192 #endif
01193 
01194     virtual XrlCmdError static_routes_0_1_delete_backup_route6(
01195     // Input values,
01196     const bool& unicast,
01197     const bool& multicast,
01198     const IPv6Net&  network,
01199     const IPv6& nexthop) = 0;
01200 #ifdef XORP_ENABLE_ASYNC_SERVER
01201     typedef
01202     XorpCallback1<void, const XrlCmdError &>::RefPtr
01203     StaticRoutes01DeleteBackupRoute6RF;
01204 
01205     class StaticRoutes01DeleteBackupRoute6CB {
01206         StaticRoutes01DeleteBackupRoute6RF cb;
01207 
01208     public:
01209         operator const StaticRoutes01DeleteBackupRoute6RF& () const { return cb; }
01210         const StaticRoutes01DeleteBackupRoute6RF& operator ->() const { return cb; }
01211         StaticRoutes01DeleteBackupRoute6CB(const StaticRoutes01DeleteBackupRoute6RF& cb)
01212           : cb(cb) { }
01213 
01214         void fail(const XrlCmdError &e) const { cb->dispatch(e); }
01215 
01216         void respond() const {
01217             cb->dispatch(XrlCmdError::OKAY());
01218         }
01219     };
01220 
01221     struct StaticRoutes01DeleteBackupRoute6Rsp :
01222       public StaticRoutes01DeleteBackupRoute6CB {
01223         StaticRoutes01DeleteBackupRoute6Rsp(const StaticRoutes01DeleteBackupRoute6RF& cb)
01224           : StaticRoutes01DeleteBackupRoute6CB(cb) { }
01225 
01226     };
01227 
01228     virtual void async_static_routes_0_1_delete_backup_route6
01229        (
01230     const bool& unicast,
01231     const bool& multicast,
01232     const IPv6Net&  network,
01233     const IPv6& nexthop,
01234     StaticRoutes01DeleteBackupRoute6CB);
01235 #endif
01236 
01262     virtual XrlCmdError static_routes_0_1_add_interface_route4(
01263     // Input values,
01264     const bool& unicast,
01265     const bool& multicast,
01266     const IPv4Net&  network,
01267     const IPv4& nexthop,
01268     const string&   ifname,
01269     const string&   vifname,
01270     const uint32_t& metric) = 0;
01271 #ifdef XORP_ENABLE_ASYNC_SERVER
01272     typedef
01273     XorpCallback1<void, const XrlCmdError &>::RefPtr
01274     StaticRoutes01AddInterfaceRoute4RF;
01275 
01276     class StaticRoutes01AddInterfaceRoute4CB {
01277         StaticRoutes01AddInterfaceRoute4RF cb;
01278 
01279     public:
01280         operator const StaticRoutes01AddInterfaceRoute4RF& () const { return cb; }
01281         const StaticRoutes01AddInterfaceRoute4RF& operator ->() const { return cb; }
01282         StaticRoutes01AddInterfaceRoute4CB(const StaticRoutes01AddInterfaceRoute4RF& cb)
01283           : cb(cb) { }
01284 
01285         void fail(const XrlCmdError &e) const { cb->dispatch(e); }
01286 
01287         void respond() const {
01288             cb->dispatch(XrlCmdError::OKAY());
01289         }
01290     };
01291 
01292     struct StaticRoutes01AddInterfaceRoute4Rsp :
01293       public StaticRoutes01AddInterfaceRoute4CB {
01294         StaticRoutes01AddInterfaceRoute4Rsp(const StaticRoutes01AddInterfaceRoute4RF& cb)
01295           : StaticRoutes01AddInterfaceRoute4CB(cb) { }
01296 
01297     };
01298 
01299     virtual void async_static_routes_0_1_add_interface_route4
01300        (
01301     const bool& unicast,
01302     const bool& multicast,
01303     const IPv4Net&  network,
01304     const IPv4& nexthop,
01305     const string&   ifname,
01306     const string&   vifname,
01307     const uint32_t& metric,
01308     StaticRoutes01AddInterfaceRoute4CB);
01309 #endif
01310 
01311     virtual XrlCmdError static_routes_0_1_add_interface_route6(
01312     // Input values,
01313     const bool& unicast,
01314     const bool& multicast,
01315     const IPv6Net&  network,
01316     const IPv6& nexthop,
01317     const string&   ifname,
01318     const string&   vifname,
01319     const uint32_t& metric) = 0;
01320 #ifdef XORP_ENABLE_ASYNC_SERVER
01321     typedef
01322     XorpCallback1<void, const XrlCmdError &>::RefPtr
01323     StaticRoutes01AddInterfaceRoute6RF;
01324 
01325     class StaticRoutes01AddInterfaceRoute6CB {
01326         StaticRoutes01AddInterfaceRoute6RF cb;
01327 
01328     public:
01329         operator const StaticRoutes01AddInterfaceRoute6RF& () const { return cb; }
01330         const StaticRoutes01AddInterfaceRoute6RF& operator ->() const { return cb; }
01331         StaticRoutes01AddInterfaceRoute6CB(const StaticRoutes01AddInterfaceRoute6RF& cb)
01332           : cb(cb) { }
01333 
01334         void fail(const XrlCmdError &e) const { cb->dispatch(e); }
01335 
01336         void respond() const {
01337             cb->dispatch(XrlCmdError::OKAY());
01338         }
01339     };
01340 
01341     struct StaticRoutes01AddInterfaceRoute6Rsp :
01342       public StaticRoutes01AddInterfaceRoute6CB {
01343         StaticRoutes01AddInterfaceRoute6Rsp(const StaticRoutes01AddInterfaceRoute6RF& cb)
01344           : StaticRoutes01AddInterfaceRoute6CB(cb) { }
01345 
01346     };
01347 
01348     virtual void async_static_routes_0_1_add_interface_route6
01349        (
01350     const bool& unicast,
01351     const bool& multicast,
01352     const IPv6Net&  network,
01353     const IPv6& nexthop,
01354     const string&   ifname,
01355     const string&   vifname,
01356     const uint32_t& metric,
01357     StaticRoutes01AddInterfaceRoute6CB);
01358 #endif
01359 
01360     virtual XrlCmdError static_routes_0_1_replace_interface_route4(
01361     // Input values,
01362     const bool& unicast,
01363     const bool& multicast,
01364     const IPv4Net&  network,
01365     const IPv4& nexthop,
01366     const string&   ifname,
01367     const string&   vifname,
01368     const uint32_t& metric) = 0;
01369 #ifdef XORP_ENABLE_ASYNC_SERVER
01370     typedef
01371     XorpCallback1<void, const XrlCmdError &>::RefPtr
01372     StaticRoutes01ReplaceInterfaceRoute4RF;
01373 
01374     class StaticRoutes01ReplaceInterfaceRoute4CB {
01375         StaticRoutes01ReplaceInterfaceRoute4RF cb;
01376 
01377     public:
01378         operator const StaticRoutes01ReplaceInterfaceRoute4RF& () const { return cb; }
01379         const StaticRoutes01ReplaceInterfaceRoute4RF& operator ->() const { return cb; }
01380         StaticRoutes01ReplaceInterfaceRoute4CB(const StaticRoutes01ReplaceInterfaceRoute4RF& cb)
01381           : cb(cb) { }
01382 
01383         void fail(const XrlCmdError &e) const { cb->dispatch(e); }
01384 
01385         void respond() const {
01386             cb->dispatch(XrlCmdError::OKAY());
01387         }
01388     };
01389 
01390     struct StaticRoutes01ReplaceInterfaceRoute4Rsp :
01391       public StaticRoutes01ReplaceInterfaceRoute4CB {
01392         StaticRoutes01ReplaceInterfaceRoute4Rsp(const StaticRoutes01ReplaceInterfaceRoute4RF& cb)
01393           : StaticRoutes01ReplaceInterfaceRoute4CB(cb) { }
01394 
01395     };
01396 
01397     virtual void async_static_routes_0_1_replace_interface_route4
01398        (
01399     const bool& unicast,
01400     const bool& multicast,
01401     const IPv4Net&  network,
01402     const IPv4& nexthop,
01403     const string&   ifname,
01404     const string&   vifname,
01405     const uint32_t& metric,
01406     StaticRoutes01ReplaceInterfaceRoute4CB);
01407 #endif
01408 
01409     virtual XrlCmdError static_routes_0_1_replace_interface_route6(
01410     // Input values,
01411     const bool& unicast,
01412     const bool& multicast,
01413     const IPv6Net&  network,
01414     const IPv6& nexthop,
01415     const string&   ifname,
01416     const string&   vifname,
01417     const uint32_t& metric) = 0;
01418 #ifdef XORP_ENABLE_ASYNC_SERVER
01419     typedef
01420     XorpCallback1<void, const XrlCmdError &>::RefPtr
01421     StaticRoutes01ReplaceInterfaceRoute6RF;
01422 
01423     class StaticRoutes01ReplaceInterfaceRoute6CB {
01424         StaticRoutes01ReplaceInterfaceRoute6RF cb;
01425 
01426     public:
01427         operator const StaticRoutes01ReplaceInterfaceRoute6RF& () const { return cb; }
01428         const StaticRoutes01ReplaceInterfaceRoute6RF& operator ->() const { return cb; }
01429         StaticRoutes01ReplaceInterfaceRoute6CB(const StaticRoutes01ReplaceInterfaceRoute6RF& cb)
01430           : cb(cb) { }
01431 
01432         void fail(const XrlCmdError &e) const { cb->dispatch(e); }
01433 
01434         void respond() const {
01435             cb->dispatch(XrlCmdError::OKAY());
01436         }
01437     };
01438 
01439     struct StaticRoutes01ReplaceInterfaceRoute6Rsp :
01440       public StaticRoutes01ReplaceInterfaceRoute6CB {
01441         StaticRoutes01ReplaceInterfaceRoute6Rsp(const StaticRoutes01ReplaceInterfaceRoute6RF& cb)
01442           : StaticRoutes01ReplaceInterfaceRoute6CB(cb) { }
01443 
01444     };
01445 
01446     virtual void async_static_routes_0_1_replace_interface_route6
01447        (
01448     const bool& unicast,
01449     const bool& multicast,
01450     const IPv6Net&  network,
01451     const IPv6& nexthop,
01452     const string&   ifname,
01453     const string&   vifname,
01454     const uint32_t& metric,
01455     StaticRoutes01ReplaceInterfaceRoute6CB);
01456 #endif
01457 
01458     virtual XrlCmdError static_routes_0_1_delete_interface_route4(
01459     // Input values,
01460     const bool& unicast,
01461     const bool& multicast,
01462     const IPv4Net&  network,
01463     const IPv4& nexthop,
01464     const string&   ifname,
01465     const string&   vifname) = 0;
01466 #ifdef XORP_ENABLE_ASYNC_SERVER
01467     typedef
01468     XorpCallback1<void, const XrlCmdError &>::RefPtr
01469     StaticRoutes01DeleteInterfaceRoute4RF;
01470 
01471     class StaticRoutes01DeleteInterfaceRoute4CB {
01472         StaticRoutes01DeleteInterfaceRoute4RF cb;
01473 
01474     public:
01475         operator const StaticRoutes01DeleteInterfaceRoute4RF& () const { return cb; }
01476         const StaticRoutes01DeleteInterfaceRoute4RF& operator ->() const { return cb; }
01477         StaticRoutes01DeleteInterfaceRoute4CB(const StaticRoutes01DeleteInterfaceRoute4RF& cb)
01478           : cb(cb) { }
01479 
01480         void fail(const XrlCmdError &e) const { cb->dispatch(e); }
01481 
01482         void respond() const {
01483             cb->dispatch(XrlCmdError::OKAY());
01484         }
01485     };
01486 
01487     struct StaticRoutes01DeleteInterfaceRoute4Rsp :
01488       public StaticRoutes01DeleteInterfaceRoute4CB {
01489         StaticRoutes01DeleteInterfaceRoute4Rsp(const StaticRoutes01DeleteInterfaceRoute4RF& cb)
01490           : StaticRoutes01DeleteInterfaceRoute4CB(cb) { }
01491 
01492     };
01493 
01494     virtual void async_static_routes_0_1_delete_interface_route4
01495        (
01496     const bool& unicast,
01497     const bool& multicast,
01498     const IPv4Net&  network,
01499     const IPv4& nexthop,
01500     const string&   ifname,
01501     const string&   vifname,
01502     StaticRoutes01DeleteInterfaceRoute4CB);
01503 #endif
01504 
01505     virtual XrlCmdError static_routes_0_1_delete_interface_route6(
01506     // Input values,
01507     const bool& unicast,
01508     const bool& multicast,
01509     const IPv6Net&  network,
01510     const IPv6& nexthop,
01511     const string&   ifname,
01512     const string&   vifname) = 0;
01513 #ifdef XORP_ENABLE_ASYNC_SERVER
01514     typedef
01515     XorpCallback1<void, const XrlCmdError &>::RefPtr
01516     StaticRoutes01DeleteInterfaceRoute6RF;
01517 
01518     class StaticRoutes01DeleteInterfaceRoute6CB {
01519         StaticRoutes01DeleteInterfaceRoute6RF cb;
01520 
01521     public:
01522         operator const StaticRoutes01DeleteInterfaceRoute6RF& () const { return cb; }
01523         const StaticRoutes01DeleteInterfaceRoute6RF& operator ->() const { return cb; }
01524         StaticRoutes01DeleteInterfaceRoute6CB(const StaticRoutes01DeleteInterfaceRoute6RF& cb)
01525           : cb(cb) { }
01526 
01527         void fail(const XrlCmdError &e) const { cb->dispatch(e); }
01528 
01529         void respond() const {
01530             cb->dispatch(XrlCmdError::OKAY());
01531         }
01532     };
01533 
01534     struct StaticRoutes01DeleteInterfaceRoute6Rsp :
01535       public StaticRoutes01DeleteInterfaceRoute6CB {
01536         StaticRoutes01DeleteInterfaceRoute6Rsp(const StaticRoutes01DeleteInterfaceRoute6RF& cb)
01537           : StaticRoutes01DeleteInterfaceRoute6CB(cb) { }
01538 
01539     };
01540 
01541     virtual void async_static_routes_0_1_delete_interface_route6
01542        (
01543     const bool& unicast,
01544     const bool& multicast,
01545     const IPv6Net&  network,
01546     const IPv6& nexthop,
01547     const string&   ifname,
01548     const string&   vifname,
01549     StaticRoutes01DeleteInterfaceRoute6CB);
01550 #endif
01551 
01577     virtual XrlCmdError static_routes_0_1_add_backup_interface_route4(
01578     // Input values,
01579     const bool& unicast,
01580     const bool& multicast,
01581     const IPv4Net&  network,
01582     const IPv4& nexthop,
01583     const string&   ifname,
01584     const string&   vifname,
01585     const uint32_t& metric) = 0;
01586 #ifdef XORP_ENABLE_ASYNC_SERVER
01587     typedef
01588     XorpCallback1<void, const XrlCmdError &>::RefPtr
01589     StaticRoutes01AddBackupInterfaceRoute4RF;
01590 
01591     class StaticRoutes01AddBackupInterfaceRoute4CB {
01592         StaticRoutes01AddBackupInterfaceRoute4RF cb;
01593 
01594     public:
01595         operator const StaticRoutes01AddBackupInterfaceRoute4RF& () const { return cb; }
01596         const StaticRoutes01AddBackupInterfaceRoute4RF& operator ->() const { return cb; }
01597         StaticRoutes01AddBackupInterfaceRoute4CB(const StaticRoutes01AddBackupInterfaceRoute4RF& cb)
01598           : cb(cb) { }
01599 
01600         void fail(const XrlCmdError &e) const { cb->dispatch(e); }
01601 
01602         void respond() const {
01603             cb->dispatch(XrlCmdError::OKAY());
01604         }
01605     };
01606 
01607     struct StaticRoutes01AddBackupInterfaceRoute4Rsp :
01608       public StaticRoutes01AddBackupInterfaceRoute4CB {
01609         StaticRoutes01AddBackupInterfaceRoute4Rsp(const StaticRoutes01AddBackupInterfaceRoute4RF& cb)
01610           : StaticRoutes01AddBackupInterfaceRoute4CB(cb) { }
01611 
01612     };
01613 
01614     virtual void async_static_routes_0_1_add_backup_interface_route4
01615        (
01616     const bool& unicast,
01617     const bool& multicast,
01618     const IPv4Net&  network,
01619     const IPv4& nexthop,
01620     const string&   ifname,
01621     const string&   vifname,
01622     const uint32_t& metric,
01623     StaticRoutes01AddBackupInterfaceRoute4CB);
01624 #endif
01625 
01626     virtual XrlCmdError static_routes_0_1_add_backup_interface_route6(
01627     // Input values,
01628     const bool& unicast,
01629     const bool& multicast,
01630     const IPv6Net&  network,
01631     const IPv6& nexthop,
01632     const string&   ifname,
01633     const string&   vifname,
01634     const uint32_t& metric) = 0;
01635 #ifdef XORP_ENABLE_ASYNC_SERVER
01636     typedef
01637     XorpCallback1<void, const XrlCmdError &>::RefPtr
01638     StaticRoutes01AddBackupInterfaceRoute6RF;
01639 
01640     class StaticRoutes01AddBackupInterfaceRoute6CB {
01641         StaticRoutes01AddBackupInterfaceRoute6RF cb;
01642 
01643     public:
01644         operator const StaticRoutes01AddBackupInterfaceRoute6RF& () const { return cb; }
01645         const StaticRoutes01AddBackupInterfaceRoute6RF& operator ->() const { return cb; }
01646         StaticRoutes01AddBackupInterfaceRoute6CB(const StaticRoutes01AddBackupInterfaceRoute6RF& cb)
01647           : cb(cb) { }
01648 
01649         void fail(const XrlCmdError &e) const { cb->dispatch(e); }
01650 
01651         void respond() const {
01652             cb->dispatch(XrlCmdError::OKAY());
01653         }
01654     };
01655 
01656     struct StaticRoutes01AddBackupInterfaceRoute6Rsp :
01657       public StaticRoutes01AddBackupInterfaceRoute6CB {
01658         StaticRoutes01AddBackupInterfaceRoute6Rsp(const StaticRoutes01AddBackupInterfaceRoute6RF& cb)
01659           : StaticRoutes01AddBackupInterfaceRoute6CB(cb) { }
01660 
01661     };
01662 
01663     virtual void async_static_routes_0_1_add_backup_interface_route6
01664        (
01665     const bool& unicast,
01666     const bool& multicast,
01667     const IPv6Net&  network,
01668     const IPv6& nexthop,
01669     const string&   ifname,
01670     const string&   vifname,
01671     const uint32_t& metric,
01672     StaticRoutes01AddBackupInterfaceRoute6CB);
01673 #endif
01674 
01675     virtual XrlCmdError static_routes_0_1_replace_backup_interface_route4(
01676     // Input values,
01677     const bool& unicast,
01678     const bool& multicast,
01679     const IPv4Net&  network,
01680     const IPv4& nexthop,
01681     const string&   ifname,
01682     const string&   vifname,
01683     const uint32_t& metric) = 0;
01684 #ifdef XORP_ENABLE_ASYNC_SERVER
01685     typedef
01686     XorpCallback1<void, const XrlCmdError &>::RefPtr
01687     StaticRoutes01ReplaceBackupInterfaceRoute4RF;
01688 
01689     class StaticRoutes01ReplaceBackupInterfaceRoute4CB {
01690         StaticRoutes01ReplaceBackupInterfaceRoute4RF cb;
01691 
01692     public:
01693         operator const StaticRoutes01ReplaceBackupInterfaceRoute4RF& () const { return cb; }
01694         const StaticRoutes01ReplaceBackupInterfaceRoute4RF& operator ->() const { return cb; }
01695         StaticRoutes01ReplaceBackupInterfaceRoute4CB(const StaticRoutes01ReplaceBackupInterfaceRoute4RF& cb)
01696           : cb(cb) { }
01697 
01698         void fail(const XrlCmdError &e) const { cb->dispatch(e); }
01699 
01700         void respond() const {
01701             cb->dispatch(XrlCmdError::OKAY());
01702         }
01703     };
01704 
01705     struct StaticRoutes01ReplaceBackupInterfaceRoute4Rsp :
01706       public StaticRoutes01ReplaceBackupInterfaceRoute4CB {
01707         StaticRoutes01ReplaceBackupInterfaceRoute4Rsp(const StaticRoutes01ReplaceBackupInterfaceRoute4RF& cb)
01708           : StaticRoutes01ReplaceBackupInterfaceRoute4CB(cb) { }
01709 
01710     };
01711 
01712     virtual void async_static_routes_0_1_replace_backup_interface_route4
01713        (
01714     const bool& unicast,
01715     const bool& multicast,
01716     const IPv4Net&  network,
01717     const IPv4& nexthop,
01718     const string&   ifname,
01719     const string&   vifname,
01720     const uint32_t& metric,
01721     StaticRoutes01ReplaceBackupInterfaceRoute4CB);
01722 #endif
01723 
01724     virtual XrlCmdError static_routes_0_1_replace_backup_interface_route6(
01725     // Input values,
01726     const bool& unicast,
01727     const bool& multicast,
01728     const IPv6Net&  network,
01729     const IPv6& nexthop,
01730     const string&   ifname,
01731     const string&   vifname,
01732     const uint32_t& metric) = 0;
01733 #ifdef XORP_ENABLE_ASYNC_SERVER
01734     typedef
01735     XorpCallback1<void, const XrlCmdError &>::RefPtr
01736     StaticRoutes01ReplaceBackupInterfaceRoute6RF;
01737 
01738     class StaticRoutes01ReplaceBackupInterfaceRoute6CB {
01739         StaticRoutes01ReplaceBackupInterfaceRoute6RF cb;
01740 
01741     public:
01742         operator const StaticRoutes01ReplaceBackupInterfaceRoute6RF& () const { return cb; }
01743         const StaticRoutes01ReplaceBackupInterfaceRoute6RF& operator ->() const { return cb; }
01744         StaticRoutes01ReplaceBackupInterfaceRoute6CB(const StaticRoutes01ReplaceBackupInterfaceRoute6RF& cb)
01745           : cb(cb) { }
01746 
01747         void fail(const XrlCmdError &e) const { cb->dispatch(e); }
01748 
01749         void respond() const {
01750             cb->dispatch(XrlCmdError::OKAY());
01751         }
01752     };
01753 
01754     struct StaticRoutes01ReplaceBackupInterfaceRoute6Rsp :
01755       public StaticRoutes01ReplaceBackupInterfaceRoute6CB {
01756         StaticRoutes01ReplaceBackupInterfaceRoute6Rsp(const StaticRoutes01ReplaceBackupInterfaceRoute6RF& cb)
01757           : StaticRoutes01ReplaceBackupInterfaceRoute6CB(cb) { }
01758 
01759     };
01760 
01761     virtual void async_static_routes_0_1_replace_backup_interface_route6
01762        (
01763     const bool& unicast,
01764     const bool& multicast,
01765     const IPv6Net&  network,
01766     const IPv6& nexthop,
01767     const string&   ifname,
01768     const string&   vifname,
01769     const uint32_t& metric,
01770     StaticRoutes01ReplaceBackupInterfaceRoute6CB);
01771 #endif
01772 
01773     virtual XrlCmdError static_routes_0_1_delete_backup_interface_route4(
01774     // Input values,
01775     const bool& unicast,
01776     const bool& multicast,
01777     const IPv4Net&  network,
01778     const IPv4& nexthop,
01779     const string&   ifname,
01780     const string&   vifname) = 0;
01781 #ifdef XORP_ENABLE_ASYNC_SERVER
01782     typedef
01783     XorpCallback1<void, const XrlCmdError &>::RefPtr
01784     StaticRoutes01DeleteBackupInterfaceRoute4RF;
01785 
01786     class StaticRoutes01DeleteBackupInterfaceRoute4CB {
01787         StaticRoutes01DeleteBackupInterfaceRoute4RF cb;
01788 
01789     public:
01790         operator const StaticRoutes01DeleteBackupInterfaceRoute4RF& () const { return cb; }
01791         const StaticRoutes01DeleteBackupInterfaceRoute4RF& operator ->() const { return cb; }
01792         StaticRoutes01DeleteBackupInterfaceRoute4CB(const StaticRoutes01DeleteBackupInterfaceRoute4RF& cb)
01793           : cb(cb) { }
01794 
01795         void fail(const XrlCmdError &e) const { cb->dispatch(e); }
01796 
01797         void respond() const {
01798             cb->dispatch(XrlCmdError::OKAY());
01799         }
01800     };
01801 
01802     struct StaticRoutes01DeleteBackupInterfaceRoute4Rsp :
01803       public StaticRoutes01DeleteBackupInterfaceRoute4CB {
01804         StaticRoutes01DeleteBackupInterfaceRoute4Rsp(const StaticRoutes01DeleteBackupInterfaceRoute4RF& cb)
01805           : StaticRoutes01DeleteBackupInterfaceRoute4CB(cb) { }
01806 
01807     };
01808 
01809     virtual void async_static_routes_0_1_delete_backup_interface_route4
01810        (
01811     const bool& unicast,
01812     const bool& multicast,
01813     const IPv4Net&  network,
01814     const IPv4& nexthop,
01815     const string&   ifname,
01816     const string&   vifname,
01817     StaticRoutes01DeleteBackupInterfaceRoute4CB);
01818 #endif
01819 
01820     virtual XrlCmdError static_routes_0_1_delete_backup_interface_route6(
01821     // Input values,
01822     const bool& unicast,
01823     const bool& multicast,
01824     const IPv6Net&  network,
01825     const IPv6& nexthop,
01826     const string&   ifname,
01827     const string&   vifname) = 0;
01828 #ifdef XORP_ENABLE_ASYNC_SERVER
01829     typedef
01830     XorpCallback1<void, const XrlCmdError &>::RefPtr
01831     StaticRoutes01DeleteBackupInterfaceRoute6RF;
01832 
01833     class StaticRoutes01DeleteBackupInterfaceRoute6CB {
01834         StaticRoutes01DeleteBackupInterfaceRoute6RF cb;
01835 
01836     public:
01837         operator const StaticRoutes01DeleteBackupInterfaceRoute6RF& () const { return cb; }
01838         const StaticRoutes01DeleteBackupInterfaceRoute6RF& operator ->() const { return cb; }
01839         StaticRoutes01DeleteBackupInterfaceRoute6CB(const StaticRoutes01DeleteBackupInterfaceRoute6RF& cb)
01840           : cb(cb) { }
01841 
01842         void fail(const XrlCmdError &e) const { cb->dispatch(e); }
01843 
01844         void respond() const {
01845             cb->dispatch(XrlCmdError::OKAY());
01846         }
01847     };
01848 
01849     struct StaticRoutes01DeleteBackupInterfaceRoute6Rsp :
01850       public StaticRoutes01DeleteBackupInterfaceRoute6CB {
01851         StaticRoutes01DeleteBackupInterfaceRoute6Rsp(const StaticRoutes01DeleteBackupInterfaceRoute6RF& cb)
01852           : StaticRoutes01DeleteBackupInterfaceRoute6CB(cb) { }
01853 
01854     };
01855 
01856     virtual void async_static_routes_0_1_delete_backup_interface_route6
01857        (
01858     const bool& unicast,
01859     const bool& multicast,
01860     const IPv6Net&  network,
01861     const IPv6& nexthop,
01862     const string&   ifname,
01863     const string&   vifname,
01864     StaticRoutes01DeleteBackupInterfaceRoute6CB);
01865 #endif
01866 
01874     virtual XrlCmdError static_routes_0_1_enable_log_trace_all(
01875     // Input values,
01876     const bool& enable) = 0;
01877 #ifdef XORP_ENABLE_ASYNC_SERVER
01878     typedef
01879     XorpCallback1<void, const XrlCmdError &>::RefPtr
01880     StaticRoutes01EnableLogTraceAllRF;
01881 
01882     class StaticRoutes01EnableLogTraceAllCB {
01883         StaticRoutes01EnableLogTraceAllRF cb;
01884 
01885     public:
01886         operator const StaticRoutes01EnableLogTraceAllRF& () const { return cb; }
01887         const StaticRoutes01EnableLogTraceAllRF& operator ->() const { return cb; }
01888         StaticRoutes01EnableLogTraceAllCB(const StaticRoutes01EnableLogTraceAllRF& cb)
01889           : cb(cb) { }
01890 
01891         void fail(const XrlCmdError &e) const { cb->dispatch(e); }
01892 
01893         void respond() const {
01894             cb->dispatch(XrlCmdError::OKAY());
01895         }
01896     };
01897 
01898     struct StaticRoutes01EnableLogTraceAllRsp :
01899       public StaticRoutes01EnableLogTraceAllCB {
01900         StaticRoutes01EnableLogTraceAllRsp(const StaticRoutes01EnableLogTraceAllRF& cb)
01901           : StaticRoutes01EnableLogTraceAllCB(cb) { }
01902 
01903     };
01904 
01905     virtual void async_static_routes_0_1_enable_log_trace_all
01906        (
01907     const bool& enable,
01908     StaticRoutes01EnableLogTraceAllCB);
01909 #endif
01910 
01911 private:
01912     XrlCmdRT handle_common_0_1_get_target_name(const XrlArgs& in, XrlCmdOT out);
01913 #ifdef XORP_ENABLE_ASYNC_SERVER
01914     void callback_common_0_1_get_target_name
01915        (const XrlCmdError &e,
01916     const string* arg_name,
01917         XrlRespCallback);
01918 #endif
01919 
01920     XrlCmdRT handle_common_0_1_get_version(const XrlArgs& in, XrlCmdOT out);
01921 #ifdef XORP_ENABLE_ASYNC_SERVER
01922     void callback_common_0_1_get_version
01923        (const XrlCmdError &e,
01924     const string* arg_version,
01925         XrlRespCallback);
01926 #endif
01927 
01928     XrlCmdRT handle_common_0_1_get_status(const XrlArgs& in, XrlCmdOT out);
01929 #ifdef XORP_ENABLE_ASYNC_SERVER
01930     void callback_common_0_1_get_status
01931        (const XrlCmdError &e,
01932     const uint32_t* arg_status,
01933     const string* arg_reason,
01934         XrlRespCallback);
01935 #endif
01936 
01937     XrlCmdRT handle_common_0_1_shutdown(const XrlArgs& in, XrlCmdOT out);
01938 #ifdef XORP_ENABLE_ASYNC_SERVER
01939     void callback_common_0_1_shutdown
01940        (const XrlCmdError &e,
01941         XrlRespCallback);
01942 #endif
01943 
01944     XrlCmdRT handle_common_0_1_startup(const XrlArgs& in, XrlCmdOT out);
01945 #ifdef XORP_ENABLE_ASYNC_SERVER
01946     void callback_common_0_1_startup
01947        (const XrlCmdError &e,
01948         XrlRespCallback);
01949 #endif
01950 
01951     XrlCmdRT handle_finder_event_observer_0_1_xrl_target_birth(const XrlArgs& in, XrlCmdOT out);
01952 #ifdef XORP_ENABLE_ASYNC_SERVER
01953     void callback_finder_event_observer_0_1_xrl_target_birth
01954        (const XrlCmdError &e,
01955         XrlRespCallback);
01956 #endif
01957 
01958     XrlCmdRT handle_finder_event_observer_0_1_xrl_target_death(const XrlArgs& in, XrlCmdOT out);
01959 #ifdef XORP_ENABLE_ASYNC_SERVER
01960     void callback_finder_event_observer_0_1_xrl_target_death
01961        (const XrlCmdError &e,
01962         XrlRespCallback);
01963 #endif
01964 
01965     XrlCmdRT handle_policy_backend_0_1_configure(const XrlArgs& in, XrlCmdOT out);
01966 #ifdef XORP_ENABLE_ASYNC_SERVER
01967     void callback_policy_backend_0_1_configure
01968        (const XrlCmdError &e,
01969         XrlRespCallback);
01970 #endif
01971 
01972     XrlCmdRT handle_policy_backend_0_1_reset(const XrlArgs& in, XrlCmdOT out);
01973 #ifdef XORP_ENABLE_ASYNC_SERVER
01974     void callback_policy_backend_0_1_reset
01975        (const XrlCmdError &e,
01976         XrlRespCallback);
01977 #endif
01978 
01979     XrlCmdRT handle_policy_backend_0_1_push_routes(const XrlArgs& in, XrlCmdOT out);
01980 #ifdef XORP_ENABLE_ASYNC_SERVER
01981     void callback_policy_backend_0_1_push_routes
01982        (const XrlCmdError &e,
01983         XrlRespCallback);
01984 #endif
01985 
01986     XrlCmdRT handle_static_routes_0_1_enable_static_routes(const XrlArgs& in, XrlCmdOT out);
01987 #ifdef XORP_ENABLE_ASYNC_SERVER
01988     void callback_static_routes_0_1_enable_static_routes
01989        (const XrlCmdError &e,
01990         XrlRespCallback);
01991 #endif
01992 
01993     XrlCmdRT handle_static_routes_0_1_start_static_routes(const XrlArgs& in, XrlCmdOT out);
01994 #ifdef XORP_ENABLE_ASYNC_SERVER
01995     void callback_static_routes_0_1_start_static_routes
01996        (const XrlCmdError &e,
01997         XrlRespCallback);
01998 #endif
01999 
02000     XrlCmdRT handle_static_routes_0_1_stop_static_routes(const XrlArgs& in, XrlCmdOT out);
02001 #ifdef XORP_ENABLE_ASYNC_SERVER
02002     void callback_static_routes_0_1_stop_static_routes
02003        (const XrlCmdError &e,
02004         XrlRespCallback);
02005 #endif
02006 
02007     XrlCmdRT handle_static_routes_0_1_add_route4(const XrlArgs& in, XrlCmdOT out);
02008 #ifdef XORP_ENABLE_ASYNC_SERVER
02009     void callback_static_routes_0_1_add_route4
02010        (const XrlCmdError &e,
02011         XrlRespCallback);
02012 #endif
02013 
02014     XrlCmdRT handle_static_routes_0_1_add_route6(const XrlArgs& in, XrlCmdOT out);
02015 #ifdef XORP_ENABLE_ASYNC_SERVER
02016     void callback_static_routes_0_1_add_route6
02017        (const XrlCmdError &e,
02018         XrlRespCallback);
02019 #endif
02020 
02021     XrlCmdRT handle_static_routes_0_1_replace_route4(const XrlArgs& in, XrlCmdOT out);
02022 #ifdef XORP_ENABLE_ASYNC_SERVER
02023     void callback_static_routes_0_1_replace_route4
02024        (const XrlCmdError &e,
02025         XrlRespCallback);
02026 #endif
02027 
02028     XrlCmdRT handle_static_routes_0_1_replace_route6(const XrlArgs& in, XrlCmdOT out);
02029 #ifdef XORP_ENABLE_ASYNC_SERVER
02030     void callback_static_routes_0_1_replace_route6
02031        (const XrlCmdError &e,
02032         XrlRespCallback);
02033 #endif
02034 
02035     XrlCmdRT handle_static_routes_0_1_delete_route4(const XrlArgs& in, XrlCmdOT out);
02036 #ifdef XORP_ENABLE_ASYNC_SERVER
02037     void callback_static_routes_0_1_delete_route4
02038        (const XrlCmdError &e,
02039         XrlRespCallback);
02040 #endif
02041 
02042     XrlCmdRT handle_static_routes_0_1_delete_route6(const XrlArgs& in, XrlCmdOT out);
02043 #ifdef XORP_ENABLE_ASYNC_SERVER
02044     void callback_static_routes_0_1_delete_route6
02045        (const XrlCmdError &e,
02046         XrlRespCallback);
02047 #endif
02048 
02049     XrlCmdRT handle_static_routes_0_1_add_backup_route4(const XrlArgs& in, XrlCmdOT out);
02050 #ifdef XORP_ENABLE_ASYNC_SERVER
02051     void callback_static_routes_0_1_add_backup_route4
02052        (const XrlCmdError &e,
02053         XrlRespCallback);
02054 #endif
02055 
02056     XrlCmdRT handle_static_routes_0_1_add_backup_route6(const XrlArgs& in, XrlCmdOT out);
02057 #ifdef XORP_ENABLE_ASYNC_SERVER
02058     void callback_static_routes_0_1_add_backup_route6
02059        (const XrlCmdError &e,
02060         XrlRespCallback);
02061 #endif
02062 
02063     XrlCmdRT handle_static_routes_0_1_replace_backup_route4(const XrlArgs& in, XrlCmdOT out);
02064 #ifdef XORP_ENABLE_ASYNC_SERVER
02065     void callback_static_routes_0_1_replace_backup_route4
02066        (const XrlCmdError &e,
02067         XrlRespCallback);
02068 #endif
02069 
02070     XrlCmdRT handle_static_routes_0_1_replace_backup_route6(const XrlArgs& in, XrlCmdOT out);
02071 #ifdef XORP_ENABLE_ASYNC_SERVER
02072     void callback_static_routes_0_1_replace_backup_route6
02073        (const XrlCmdError &e,
02074         XrlRespCallback);
02075 #endif
02076 
02077     XrlCmdRT handle_static_routes_0_1_delete_backup_route4(const XrlArgs& in, XrlCmdOT out);
02078 #ifdef XORP_ENABLE_ASYNC_SERVER
02079     void callback_static_routes_0_1_delete_backup_route4
02080        (const XrlCmdError &e,
02081         XrlRespCallback);
02082 #endif
02083 
02084     XrlCmdRT handle_static_routes_0_1_delete_backup_route6(const XrlArgs& in, XrlCmdOT out);
02085 #ifdef XORP_ENABLE_ASYNC_SERVER
02086     void callback_static_routes_0_1_delete_backup_route6
02087        (const XrlCmdError &e,
02088         XrlRespCallback);
02089 #endif
02090 
02091     XrlCmdRT handle_static_routes_0_1_add_interface_route4(const XrlArgs& in, XrlCmdOT out);
02092 #ifdef XORP_ENABLE_ASYNC_SERVER
02093     void callback_static_routes_0_1_add_interface_route4
02094        (const XrlCmdError &e,
02095         XrlRespCallback);
02096 #endif
02097 
02098     XrlCmdRT handle_static_routes_0_1_add_interface_route6(const XrlArgs& in, XrlCmdOT out);
02099 #ifdef XORP_ENABLE_ASYNC_SERVER
02100     void callback_static_routes_0_1_add_interface_route6
02101        (const XrlCmdError &e,
02102         XrlRespCallback);
02103 #endif
02104 
02105     XrlCmdRT handle_static_routes_0_1_replace_interface_route4(const XrlArgs& in, XrlCmdOT out);
02106 #ifdef XORP_ENABLE_ASYNC_SERVER
02107     void callback_static_routes_0_1_replace_interface_route4
02108        (const XrlCmdError &e,
02109         XrlRespCallback);
02110 #endif
02111 
02112     XrlCmdRT handle_static_routes_0_1_replace_interface_route6(const XrlArgs& in, XrlCmdOT out);
02113 #ifdef XORP_ENABLE_ASYNC_SERVER
02114     void callback_static_routes_0_1_replace_interface_route6
02115        (const XrlCmdError &e,
02116         XrlRespCallback);
02117 #endif
02118 
02119     XrlCmdRT handle_static_routes_0_1_delete_interface_route4(const XrlArgs& in, XrlCmdOT out);
02120 #ifdef XORP_ENABLE_ASYNC_SERVER
02121     void callback_static_routes_0_1_delete_interface_route4
02122        (const XrlCmdError &e,
02123         XrlRespCallback);
02124 #endif
02125 
02126     XrlCmdRT handle_static_routes_0_1_delete_interface_route6(const XrlArgs& in, XrlCmdOT out);
02127 #ifdef XORP_ENABLE_ASYNC_SERVER
02128     void callback_static_routes_0_1_delete_interface_route6
02129        (const XrlCmdError &e,
02130         XrlRespCallback);
02131 #endif
02132 
02133     XrlCmdRT handle_static_routes_0_1_add_backup_interface_route4(const XrlArgs& in, XrlCmdOT out);
02134 #ifdef XORP_ENABLE_ASYNC_SERVER
02135     void callback_static_routes_0_1_add_backup_interface_route4
02136        (const XrlCmdError &e,
02137         XrlRespCallback);
02138 #endif
02139 
02140     XrlCmdRT handle_static_routes_0_1_add_backup_interface_route6(const XrlArgs& in, XrlCmdOT out);
02141 #ifdef XORP_ENABLE_ASYNC_SERVER
02142     void callback_static_routes_0_1_add_backup_interface_route6
02143        (const XrlCmdError &e,
02144         XrlRespCallback);
02145 #endif
02146 
02147     XrlCmdRT handle_static_routes_0_1_replace_backup_interface_route4(const XrlArgs& in, XrlCmdOT out);
02148 #ifdef XORP_ENABLE_ASYNC_SERVER
02149     void callback_static_routes_0_1_replace_backup_interface_route4
02150        (const XrlCmdError &e,
02151         XrlRespCallback);
02152 #endif
02153 
02154     XrlCmdRT handle_static_routes_0_1_replace_backup_interface_route6(const XrlArgs& in, XrlCmdOT out);
02155 #ifdef XORP_ENABLE_ASYNC_SERVER
02156     void callback_static_routes_0_1_replace_backup_interface_route6
02157        (const XrlCmdError &e,
02158         XrlRespCallback);
02159 #endif
02160 
02161     XrlCmdRT handle_static_routes_0_1_delete_backup_interface_route4(const XrlArgs& in, XrlCmdOT out);
02162 #ifdef XORP_ENABLE_ASYNC_SERVER
02163     void callback_static_routes_0_1_delete_backup_interface_route4
02164        (const XrlCmdError &e,
02165         XrlRespCallback);
02166 #endif
02167 
02168     XrlCmdRT handle_static_routes_0_1_delete_backup_interface_route6(const XrlArgs& in, XrlCmdOT out);
02169 #ifdef XORP_ENABLE_ASYNC_SERVER
02170     void callback_static_routes_0_1_delete_backup_interface_route6
02171        (const XrlCmdError &e,
02172         XrlRespCallback);
02173 #endif
02174 
02175     XrlCmdRT handle_static_routes_0_1_enable_log_trace_all(const XrlArgs& in, XrlCmdOT out);
02176 #ifdef XORP_ENABLE_ASYNC_SERVER
02177     void callback_static_routes_0_1_enable_log_trace_all
02178        (const XrlCmdError &e,
02179         XrlRespCallback);
02180 #endif
02181 
02182     void add_handlers();
02183     void remove_handlers();
02184 
02185     struct handler_table {
02186         const char *name;
02187         XrlCmdRT (XrlStaticRoutesTargetBase::*method)(const XrlArgs&, XrlCmdOT);
02188     };
02189 
02190     static const struct handler_table handlers[];
02191     static const size_t num_handlers;
02192 };
02193 
02194 #endif // __XRL_TARGETS_STATIC_ROUTES_BASE_HH__
 All Classes Namespaces Functions Variables Typedefs Enumerations