Changes between Version 7 and Version 8 of Internal/OpenFlow/Controllers/Nox


Ignore:
Timestamp:
Nov 18, 2010, 6:47:04 PM (14 years ago)
Author:
akoshibe
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Internal/OpenFlow/Controllers/Nox

    v7 v8  
    152152 
    153153== 3.2. Event triggers ==
     154Event triggers allow you to define your controller's behavior. This is done by defining Disposition type functions that you may (or may not) have registered using `register_handler`. The configure function allows you to define which Dispositions your controller will immediately respond to based on inputs; Other, "unregistered" Disposition functions can be called from these functions that you register with `configure`. 
     155
    154156=== 3.2.1 The Disposition type ===
     157An Event trigger (Dispostiton function) is declared like this:
     158{{{
     159Disposition
     160SPRouting::handle_flow_in(const Event& e)
     161{
     162...
     163}}}
     164When actually called, the `register_handler` uses Boost's `bind` function to associate input flags with the arguments for this Disposition function.
    155165
    156166