Siena Fast Forwarding Documentation (v. 1.9.4)

siena::MatchMessageHandler Class Reference

hook for the output function for matching interfaces. More...

#include <forwarding.h>

List of all members.

Public Member Functions

virtual ~MatchMessageHandler ()
 virtual destructor
virtual bool output (if_t, const message &)=0 throw ()
 output function.

Detailed Description

hook for the output function for matching interfaces.

The matching function of the forwarding table doesn't actually produce any output. Instead, it delegates the processing of matching interfaces to a specialized match handler. This base class defines the interface of such a handler. Users of the forwarding table must implement this interface and pass it to the matching function.

See also:
MatchHandler

Member Function Documentation

virtual bool siena::MatchMessageHandler::output ( if_t  ,
const message  
) throw () [pure virtual]

output function.

This function is called within the throw() matching function of the forwarding table. This method is given the interface identifier of the matching interface and a reference to the matching message. This function may explicitly cause the matching function to terminate by returning true.


The documentation for this class was generated from the following file: