Branch: refs/heads/master
  Home:   https://github.com/greearb/xorp.ct

  Commit: 089f2abe50b09a4a0351a65e6ccd59e1570a6a94
      
https://github.com/greearb/xorp.ct/commit/089f2abe50b09a4a0351a65e6ccd59e1570a6a94
  Author: Steven Simpson <[email protected]>
  Date:   2011-07-06 (Wed, 06 Jul 2011)

  Changed paths:
    M xorp/xrl/scripts/tgt-gen

  Log Message:
  -----------
  Added helper classes for async responses.

* Renamed generated callback function type *CB to *RF (for Response
  Function).

* tgt-gen creates *CB class (constructed from *RF) which offers
  respond(out-args) and fail(error) methods mapping onto *RF calls,
  and retains ->dispatch method for compatibility.  The name *CB
  continues to be used in method signatures (like each async_*
  function), so the new *CB class replaces the old *CB typedef.

* tgt-gen also generates *Rsp class as argument-holding version of
  *CB.  Not used in any generated signatures, but available to user.

Signed-off-by: Steven Simpson <[email protected]>


_______________________________________________
Xorp-hackers mailing list
[email protected]
http://mailman.ICSI.Berkeley.EDU/mailman/listinfo/xorp-hackers

Reply via email to