xorp

XrlRedistTransaction6V0p1Client Class Reference

List of all members.

Public Types

typedef XorpCallback2< void,
const XrlError &, const
uint32_t * >::RefPtr 
StartTransactionCB
typedef XorpCallback1< void,
const XrlError & >::RefPtr 
CommitTransactionCB
typedef XorpCallback1< void,
const XrlError & >::RefPtr 
AbortTransactionCB
typedef XorpCallback1< void,
const XrlError & >::RefPtr 
AddRouteCB
typedef XorpCallback1< void,
const XrlError & >::RefPtr 
DeleteRouteCB
typedef XorpCallback1< void,
const XrlError & >::RefPtr 
DeleteAllRoutesCB
typedef XorpCallback2< void,
const XrlError &, const
uint32_t * >::RefPtr 
StartTransactionCB
typedef XorpCallback1< void,
const XrlError & >::RefPtr 
CommitTransactionCB
typedef XorpCallback1< void,
const XrlError & >::RefPtr 
AbortTransactionCB
typedef XorpCallback1< void,
const XrlError & >::RefPtr 
AddRouteCB
typedef XorpCallback1< void,
const XrlError & >::RefPtr 
DeleteRouteCB
typedef XorpCallback1< void,
const XrlError & >::RefPtr 
DeleteAllRoutesCB

Public Member Functions

 XrlRedistTransaction6V0p1Client (XrlSender *s)
bool send_start_transaction (const char *dst_xrl_target_name, const StartTransactionCB &cb)
 Send Xrl intended to:
bool send_commit_transaction (const char *dst_xrl_target_name, const uint32_t &tid, const CommitTransactionCB &cb)
 Send Xrl intended to:
bool send_abort_transaction (const char *dst_xrl_target_name, const uint32_t &tid, const AbortTransactionCB &cb)
 Send Xrl intended to:
bool send_add_route (const char *dst_xrl_target_name, const uint32_t &tid, const IPv6Net &dst, const IPv6 &nexthop, const string &ifname, const string &vifname, const uint32_t &metric, const uint32_t &admin_distance, const string &cookie, const string &protocol_origin, const AddRouteCB &cb)
 Send Xrl intended to:
bool send_delete_route (const char *dst_xrl_target_name, const uint32_t &tid, const IPv6Net &dst, const IPv6 &nexthop, const string &ifname, const string &vifname, const uint32_t &metric, const uint32_t &admin_distance, const string &cookie, const string &protocol_origin, const DeleteRouteCB &cb)
bool send_delete_all_routes (const char *dst_xrl_target_name, const uint32_t &tid, const string &cookie, const DeleteAllRoutesCB &cb)
 Send Xrl intended to:
 XrlRedistTransaction6V0p1Client (XrlSender *s)
bool send_start_transaction (const char *dst_xrl_target_name, const StartTransactionCB &cb)
 Send Xrl intended to:
bool send_commit_transaction (const char *dst_xrl_target_name, const uint32_t &tid, const CommitTransactionCB &cb)
 Send Xrl intended to:
bool send_abort_transaction (const char *dst_xrl_target_name, const uint32_t &tid, const AbortTransactionCB &cb)
 Send Xrl intended to:
bool send_add_route (const char *dst_xrl_target_name, const uint32_t &tid, const IPv6Net &dst, const IPv6 &nexthop, const string &ifname, const string &vifname, const uint32_t &metric, const uint32_t &admin_distance, const string &cookie, const string &protocol_origin, const AddRouteCB &cb)
 Send Xrl intended to:
bool send_delete_route (const char *dst_xrl_target_name, const uint32_t &tid, const IPv6Net &dst, const IPv6 &nexthop, const string &ifname, const string &vifname, const uint32_t &metric, const uint32_t &admin_distance, const string &cookie, const string &protocol_origin, const DeleteRouteCB &cb)
bool send_delete_all_routes (const char *dst_xrl_target_name, const uint32_t &tid, const string &cookie, const DeleteAllRoutesCB &cb)
 Send Xrl intended to:

Protected Attributes

XrlSender_sender

Static Private Member Functions

static void unmarshall_start_transaction (const XrlError &e, XrlArgs *a, StartTransactionCB cb)
static void unmarshall_commit_transaction (const XrlError &e, XrlArgs *a, CommitTransactionCB cb)
static void unmarshall_abort_transaction (const XrlError &e, XrlArgs *a, AbortTransactionCB cb)
static void unmarshall_add_route (const XrlError &e, XrlArgs *a, AddRouteCB cb)
static void unmarshall_delete_route (const XrlError &e, XrlArgs *a, DeleteRouteCB cb)
static void unmarshall_delete_all_routes (const XrlError &e, XrlArgs *a, DeleteAllRoutesCB cb)
static void unmarshall_start_transaction (const XrlError &e, XrlArgs *a, StartTransactionCB cb)
static void unmarshall_commit_transaction (const XrlError &e, XrlArgs *a, CommitTransactionCB cb)
static void unmarshall_abort_transaction (const XrlError &e, XrlArgs *a, AbortTransactionCB cb)
static void unmarshall_add_route (const XrlError &e, XrlArgs *a, AddRouteCB cb)
static void unmarshall_delete_route (const XrlError &e, XrlArgs *a, DeleteRouteCB cb)
static void unmarshall_delete_all_routes (const XrlError &e, XrlArgs *a, DeleteAllRoutesCB cb)

Private Attributes

auto_ptr< Xrlap_xrl_start_transaction
auto_ptr< Xrlap_xrl_commit_transaction
auto_ptr< Xrlap_xrl_abort_transaction
auto_ptr< Xrlap_xrl_add_route
auto_ptr< Xrlap_xrl_delete_route
auto_ptr< Xrlap_xrl_delete_all_routes

Member Function Documentation

bool XrlRedistTransaction6V0p1Client::send_abort_transaction ( const char *  dst_xrl_target_name,
const uint32_t &  tid,
const AbortTransactionCB &  cb 
)

Send Xrl intended to:

Abort transaction.

Parameters:
dst_xrl_target_namethe Xrl target name of the destination.
tidthe transaction ID of this transaction.
bool XrlRedistTransaction6V0p1Client::send_abort_transaction ( const char *  dst_xrl_target_name,
const uint32_t &  tid,
const AbortTransactionCB &  cb 
)

Send Xrl intended to:

Abort transaction.

Parameters:
dst_xrl_target_namethe Xrl target name of the destination.
tidthe transaction ID of this transaction.
bool XrlRedistTransaction6V0p1Client::send_add_route ( const char *  dst_xrl_target_name,
const uint32_t &  tid,
const IPv6Net dst,
const IPv6 nexthop,
const string &  ifname,
const string &  vifname,
const uint32_t &  metric,
const uint32_t &  admin_distance,
const string &  cookie,
const string &  protocol_origin,
const AddRouteCB &  cb 
)

Send Xrl intended to:

Add/delete a routing entry.

Parameters:
dst_xrl_target_namethe Xrl target name of the destination.
tidthe transaction ID of this transaction.
dstdestination network.
nexthopnexthop router address.
ifnameinterface name associated with nexthop.
vifnamevirtual interface name with nexthop.
metricorigin routing protocol metric for route.
admin_distanceadministrative distance of origin routing protocol.
cookievalue set by the requestor to identify redistribution source. Typical value is the originating protocol name.
protocol_originthe name of the protocol that originated this routing entry.
bool XrlRedistTransaction6V0p1Client::send_add_route ( const char *  dst_xrl_target_name,
const uint32_t &  tid,
const IPv6Net dst,
const IPv6 nexthop,
const string &  ifname,
const string &  vifname,
const uint32_t &  metric,
const uint32_t &  admin_distance,
const string &  cookie,
const string &  protocol_origin,
const AddRouteCB &  cb 
)

Send Xrl intended to:

Add/delete a routing entry.

Parameters:
dst_xrl_target_namethe Xrl target name of the destination.
tidthe transaction ID of this transaction.
dstdestination network.
nexthopnexthop router address.
ifnameinterface name associated with nexthop.
vifnamevirtual interface name with nexthop.
metricorigin routing protocol metric for route.
admin_distanceadministrative distance of origin routing protocol.
cookievalue set by the requestor to identify redistribution source. Typical value is the originating protocol name.
protocol_originthe name of the protocol that originated this routing entry.
bool XrlRedistTransaction6V0p1Client::send_commit_transaction ( const char *  dst_xrl_target_name,
const uint32_t &  tid,
const CommitTransactionCB &  cb 
)

Send Xrl intended to:

Commit transaction.

Parameters:
dst_xrl_target_namethe Xrl target name of the destination.
tidthe transaction ID of this transaction.
bool XrlRedistTransaction6V0p1Client::send_commit_transaction ( const char *  dst_xrl_target_name,
const uint32_t &  tid,
const CommitTransactionCB &  cb 
)

Send Xrl intended to:

Commit transaction.

Parameters:
dst_xrl_target_namethe Xrl target name of the destination.
tidthe transaction ID of this transaction.
bool XrlRedistTransaction6V0p1Client::send_delete_all_routes ( const char *  dst_xrl_target_name,
const uint32_t &  tid,
const string &  cookie,
const DeleteAllRoutesCB &  cb 
)

Send Xrl intended to:

Delete all routing entries.

Parameters:
dst_xrl_target_namethe Xrl target name of the destination.
tidthe transaction ID of this transaction.
cookievalue set by the requestor to identify redistribution source. Typical value is the originating protocol name.
bool XrlRedistTransaction6V0p1Client::send_delete_all_routes ( const char *  dst_xrl_target_name,
const uint32_t &  tid,
const string &  cookie,
const DeleteAllRoutesCB &  cb 
)

Send Xrl intended to:

Delete all routing entries.

Parameters:
dst_xrl_target_namethe Xrl target name of the destination.
tidthe transaction ID of this transaction.
cookievalue set by the requestor to identify redistribution source. Typical value is the originating protocol name.
bool XrlRedistTransaction6V0p1Client::send_start_transaction ( const char *  dst_xrl_target_name,
const StartTransactionCB &  cb 
)

Send Xrl intended to:

Start transaction.

Parameters:
dst_xrl_target_namethe Xrl target name of the destination.
bool XrlRedistTransaction6V0p1Client::send_start_transaction ( const char *  dst_xrl_target_name,
const StartTransactionCB &  cb 
)

Send Xrl intended to:

Start transaction.

Parameters:
dst_xrl_target_namethe Xrl target name of the destination.

The documentation for this class was generated from the following files:
 All Classes Namespaces Functions Variables Typedefs Enumerations